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
@@ -13,15 +13,15 @@ with stdenv.lib;
stdenv.mkDerivation rec {
version = "0.28.4"; # not really, git
name = "notmuch-${version}";
pname = "notmuch";
passthru = {
pythonSourceRoot = "${name}/bindings/python";
pythonSourceRoot = "${pname}-${version}/bindings/python";
inherit version;
};
src = fetchurl {
url = "https://notmuchmail.org/releases/${name}.tar.gz";
url = "https://notmuchmail.org/releases/${pname}-${version}.tar.gz";
sha256 = "1jjnhs4xs4gksvg0a9qn68rxrj41im5bh58snka2pkj20nxwmcds";
};
@@ -3,12 +3,12 @@
}:
stdenv.mkDerivation rec {
version = "5";
name = "muchsync-${version}";
pname = "muchsync";
passthru = {
inherit version;
};
src = fetchurl {
url = "http://www.muchsync.org/src/${name}.tar.gz";
url = "http://www.muchsync.org/src/${pname}-${version}.tar.gz";
sha256 = "1k2m44pj5i6vfhp9icdqs42chsp208llanc666p3d9nww8ngq2lb";
};
nativeBuildInputs = [ pkgconfig ];
@@ -1,7 +1,7 @@
{ stdenv, lib, perl, perlPackages, makeWrapper, coreutils, notmuch }:
stdenv.mkDerivation rec {
name = "notmuch-mutt-${version}";
pname = "notmuch-mutt";
version = notmuch.version;
outputs = [ "out" ];