treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
assert python2 != null || python3 != null -> swig != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libcap-ng-${version}";
|
||||
pname = "libcap-ng";
|
||||
# When updating make sure to test that the version with
|
||||
# all of the python bindings still works
|
||||
version = "0.7.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/${name}.tar.gz";
|
||||
url = "${meta.homepage}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0a0k484kwv0zilry2mbl9k56cnpdhsjxdxin17jas6kkyfy345aa";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user