Use name and pname to follow conventions

Signed-off-by: Ricky Elrod <ricky@elrod.me>
This commit is contained in:
Ricky Elrod 2014-05-11 18:16:11 -04:00
parent 913e340c9a
commit 0c45c81812
2 changed files with 6 additions and 4 deletions

View File

@ -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";
};

View File

@ -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";
};