diff --git a/pkgs/tools/networking/fdm/default.nix b/pkgs/tools/networking/fdm/default.nix index 1c3d69f9cb48..cb5a781f5efa 100644 --- a/pkgs/tools/networking/fdm/default.nix +++ b/pkgs/tools/networking/fdm/default.nix @@ -1,19 +1,13 @@ { stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }: -let - - baseName = "fdm"; +stdenv.mkDerivation rec { + pname = "fdm"; version = "2.0"; -in - -stdenv.mkDerivation { - name = "${baseName}-${version}"; - src = fetchFromGitHub { owner = "nicm"; - repo = baseName; - rev = "370b04f165b0bb2989be378bb7e66b14f042d3f9"; + repo = pname; + rev = version; sha256 = "0j2n271ni5wslgjq1f4zgz1nsvqjf895dxy3ij5c904bbp8ckcwq"; };