xz: replace name with pname&version
This commit is contained in:
parent
1321a0b86c
commit
db228f3a74
|
@ -8,10 +8,11 @@
|
||||||
# files.
|
# files.
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xz-5.2.5";
|
pname = "xz";
|
||||||
|
version = "5.2.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://tukaani.org/xz/${name}.tar.bz2";
|
url = "https://tukaani.org/xz/xz-${version}.tar.bz2";
|
||||||
sha256 = "1ps2i8i212n0f4xpq6clp7h13q7m1y8slqvxha9i8d0bj0qgj5si";
|
sha256 = "1ps2i8i212n0f4xpq6clp7h13q7m1y8slqvxha9i8d0bj0qgj5si";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue