diff options
author | zimbatm <zimbatm@zimbatm.com> | 2021-11-16 22:51:10 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2021-11-17 19:50:24 +0100 |
commit | afac2c3c6867e3f88531aab14387290b2f727a36 (patch) | |
tree | a4b789822703a8dfb32dcee377a0f440782def5b /pkgs/development/libraries/gmp/5.1.x.nix | |
parent | d81ead55d74a9e6532f61078e25ccec5bcbb3490 (diff) |
gmp: use pname and version
Diffstat (limited to 'pkgs/development/libraries/gmp/5.1.x.nix')
-rw-r--r-- | pkgs/development/libraries/gmp/5.1.x.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gmp/5.1.x.nix b/pkgs/development/libraries/gmp/5.1.x.nix index ea6a7ee42310a..aa3704eb0b58c 100644 --- a/pkgs/development/libraries/gmp/5.1.x.nix +++ b/pkgs/development/libraries/gmp/5.1.x.nix @@ -6,10 +6,11 @@ let inherit (lib) optional; in let self = stdenv.mkDerivation rec { - name = "gmp-5.1.3"; + pname = "gmp"; + version = "5.1.3"; src = fetchurl { # we need to use bz2, others aren't in bootstrapping stdenv - urls = [ "mirror://gnu/gmp/${name}.tar.bz2" "ftp://ftp.gmplib.org/pub/${name}/${name}.tar.bz2" ]; + urls = [ "mirror://gnu/gmp/gmp-${version}.tar.bz2" "ftp://ftp.gmplib.org/pub/gmp-${version}/gmp-${version}.tar.bz2" ]; sha256 = "0q5i39pxrasgn9qdxzpfbwhh11ph80p57x6hf48m74261d97j83m"; }; |