parted: replace name with pname&version
This commit is contained in:
parent
30cf79fa62
commit
38069b922f
|
@ -15,10 +15,11 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "parted-3.4";
|
pname = "parted";
|
||||||
|
version = "3.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/parted/${name}.tar.xz";
|
url = "mirror://gnu/parted/parted-${version}.tar.xz";
|
||||||
sha256 = "sha256-4SmAIkctpVibfyvh1e48G2bsPZbfutA9xkKv0AnaU0I=";
|
sha256 = "sha256-4SmAIkctpVibfyvh1e48G2bsPZbfutA9xkKv0AnaU0I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue