treewide: name -> pname (easy cases) (#66585)

treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
This commit is contained in:
volth
2019-08-15 13:41:18 +01:00
committed by Jörg Thalheim
parent cff9e6429a
commit 46420bbaa3
4616 changed files with 5674 additions and 6081 deletions
+2 -2
View File
@@ -16,11 +16,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "strongswan-${version}";
pname = "strongswan";
version = "5.8.0"; # Make sure to also update <nixpkgs/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix> when upgrading!
src = fetchurl {
url = "https://download.strongswan.org/${name}.tar.bz2";
url = "https://download.strongswan.org/${pname}-${version}.tar.bz2";
sha256 = "0cq9m86ydd2i0awxkv4a256f4926p2f9pzlisyskl9fngl6f3c8m";
};