treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, makeWrapper, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "yuicompressor-${version}";
|
||||
pname = "yuicompressor";
|
||||
version = "2.4.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/yui/yuicompressor/releases/download/v${version}/${name}.jar";
|
||||
url = "https://github.com/yui/yuicompressor/releases/download/v${version}/${pname}-${version}.jar";
|
||||
sha256 = "1qjxlak9hbl9zd3dl5ks0w4zx5z64wjsbk7ic73r1r45fasisdrh";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user