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 12:41:18 +00:00
committed by Jörg Thalheim
parent cff9e6429a
commit 46420bbaa3
4616 changed files with 5674 additions and 6081 deletions

View File

@@ -21,7 +21,7 @@ let
in stdenv.mkDerivation rec {
version = "4.5";
fullVersion = "${version}-201506032000";
name = "swt-${version}";
pname = "swt";
hardeningDisable = [ "format" ];
@@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
# releases of SWT. So we just grab a binary release and extract
# "src.zip" from that.
src = fetchurl {
url = "http://archive.eclipse.org/eclipse/downloads/drops4/R-${fullVersion}/${name}-${metadata.platform}.zip";
url = "http://archive.eclipse.org/eclipse/downloads/drops4/R-${fullVersion}/${pname}-${version}-${metadata.platform}.zip";
sha256 = metadata.sha256;
};