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
@@ -3,14 +3,14 @@
}:
stdenv.mkDerivation rec {
name = "opensmtpd-${version}";
pname = "opensmtpd";
version = "6.4.1p2";
nativeBuildInputs = [ autoconf automake libtool bison ];
buildInputs = [ libasr libevent zlib libressl db pam ];
src = fetchurl {
url = "https://www.opensmtpd.org/archives/${name}.tar.gz";
url = "https://www.opensmtpd.org/archives/${pname}-${version}.tar.gz";
sha256 = "0cppqlx4fk6l8rbim5symh2fm1kzshf421256g596j6c9f9q96xn";
};
+2 -2
View File
@@ -10,11 +10,11 @@
}:
stdenv.mkDerivation rec {
name = "opensmtpd-extras-${version}";
pname = "opensmtpd-extras";
version = "6.4.0";
src = fetchurl {
url = "https://www.opensmtpd.org/archives/${name}.tar.gz";
url = "https://www.opensmtpd.org/archives/${pname}-${version}.tar.gz";
sha256 = "09k25l7zy5ch3fk6qphni2h0rxdp8wacmfag1whi608dgimrhrnb";
};