treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user