diff options
author | volth <volth@volth.com> | 2019-08-15 12:41:18 +0000 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2019-08-15 13:41:18 +0100 |
commit | 46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6 (patch) | |
tree | 46b871987347acf0215f8a9bf54df275aed9c496 /pkgs/applications/science/math/pari | |
parent | cff9e6429a4341e924594f5e057b03ca8101b314 (diff) | |
download | nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.gz nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.bz2 nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.lz nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.xz nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.zst nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.zip |
treewide: name -> pname (easy cases) (#66585)
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
Diffstat (limited to 'pkgs/applications/science/math/pari')
-rw-r--r-- | pkgs/applications/science/math/pari/gp2c.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/science/math/pari/gp2c.nix b/pkgs/applications/science/math/pari/gp2c.nix index 86bd2e843678..e743c8ae95b6 100644 --- a/pkgs/applications/science/math/pari/gp2c.nix +++ b/pkgs/applications/science/math/pari/gp2c.nix @@ -3,11 +3,11 @@ stdenv.mkDerivation rec { - name = "gp2c-${version}"; + pname = "gp2c"; version = "0.0.11pl2"; src = fetchurl { - url = "https://pari.math.u-bordeaux.fr/pub/pari/GP2C/${name}.tar.gz"; + url = "https://pari.math.u-bordeaux.fr/pub/pari/GP2C/${pname}-${version}.tar.gz"; sha256 = "0wqsf05wgkqvmmsx7jinvzdqav6rl56sr8haibgs31nzz4x9xz9g"; }; |