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
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, apacheAnt, jdk, unzip }:
stdenv.mkDerivation rec {
name = "axis2-${version}";
pname = "axis2";
version = "1.7.9";
src = fetchurl {
url = "http://apache.proserve.nl/axis/axis2/java/core/${version}/${name}-bin.zip";
url = "http://apache.proserve.nl/axis/axis2/java/core/${version}/${pname}-${version}-bin.zip";
sha256 = "0dh0s9bfh95wmmw8nyf2yw95biq7d9zmrbg8k4vzcyz1if228lac";
};
+2 -2
View File
@@ -3,11 +3,11 @@
let
common = { versionMajor, versionMinor, sha256 }: stdenv.mkDerivation (rec {
name = "apache-tomcat-${version}";
pname = "apache-tomcat";
version = "${versionMajor}.${versionMinor}";
src = fetchurl {
url = "mirror://apache/tomcat/tomcat-${versionMajor}/v${version}/bin/${name}.tar.gz";
url = "mirror://apache/tomcat/tomcat-${versionMajor}/v${version}/bin/${pname}-${version}.tar.gz";
inherit sha256;
};