treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchurl, autoconf, automake, libtool, autoreconfHook}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "CUnit-${version}";
|
||||
pname = "CUnit";
|
||||
version = "2.1-3";
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [autoconf automake libtool];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cunit/CUnit/${version}/${name}.tar.bz2";
|
||||
url = "mirror://sourceforge/cunit/CUnit/${version}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user