treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cowpatty-${version}";
|
||||
pname = "cowpatty";
|
||||
version = "4.6";
|
||||
|
||||
buildInputs = [ openssl libpcap ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.willhackforsushi.com/code/cowpatty/${version}/${name}.tgz";
|
||||
url = "http://www.willhackforsushi.com/code/cowpatty/${version}/${pname}-${version}.tgz";
|
||||
sha256 = "1hivh3bq2maxvqzwfw06fr7h8bbpvxzah6mpibh3wb85wl9w2gyd";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user