diff --git a/pkgs/applications/audio/fldigi/default.nix b/pkgs/applications/audio/fldigi/default.nix index 578619eb3f89..e78095a9c5df 100644 --- a/pkgs/applications/audio/fldigi/default.nix +++ b/pkgs/applications/audio/fldigi/default.nix @@ -3,10 +3,11 @@ stdenv.mkDerivation rec { version = "3.21.82"; - name = "fldigi"; + pname = "fldigi"; + name = "${pname}-${version}"; src = fetchurl { - url = "http://www.w1hkj.com/downloads/${name}/${name}-${version}.tar.gz"; + url = "http://www.w1hkj.com/downloads/${pname}/${name}.tar.gz"; sha256 = "1q2fc1zm9kfsjir4g6fh95vmjdq984iyxfcs6q4gjqy1znhqcyqs"; }; diff --git a/pkgs/development/libraries/hamlib/default.nix b/pkgs/development/libraries/hamlib/default.nix index 495c7e99d4b2..e0a6e23c972f 100644 --- a/pkgs/development/libraries/hamlib/default.nix +++ b/pkgs/development/libraries/hamlib/default.nix @@ -2,11 +2,12 @@ boost, libtool, perlPackages }: stdenv.mkDerivation rec { - name = "hamlib"; + pname = "hamlib"; version = "1.2.15.3"; + name = "${pname}-${version}"; src = fetchurl { - url = "mirror://sourceforge/${name}/${name}-${version}.tar.gz"; + url = "mirror://sourceforge/${pname}/${name}.tar.gz"; sha256 = "0ppp6fc2h9d8p30j2s9wlqd620kmnny4wd8fc3jxd6gxwi4lbjm2"; };