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
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, jre, makeWrapper }:
stdenv.mkDerivation rec {
name = "quantomatic-${version}";
pname = "quantomatic";
version = "0.7";
src = fetchurl {
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, boost, hepmc2, lhapdf, pythia, makeWrapper }:
stdenv.mkDerivation rec {
name = "sacrifice-${version}";
pname = "sacrifice";
version = "1.0.0";
src = fetchurl {
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, gfortran, hepmc2, fastjet, lhapdf, rivet, sqlite }:
stdenv.mkDerivation rec {
name = "sherpa-${version}";
pname = "sherpa";
version = "2.2.6";
src = fetchurl {
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, apfel, apfelgrid, applgrid, blas, gfortran, lhapdf, liblapack, libyaml, lynx, mela, root5, qcdnum, which }:
stdenv.mkDerivation rec {
name = "xfitter-${version}";
pname = "xfitter";
version = "2.0.0";
src = fetchurl {
name = "${name}.tgz";
url = "https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=get&target=${name}.tgz";
name = "${pname}-${version}.tgz";
url = "https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=get&target=${pname}-${version}.tgz";
sha256 = "0j47s8laq3aqjlgp769yicvgyzqjb738a3rqss51d9fjrihi2515";
};