mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 20:38:30 +00:00
parted: replace name with pname&version
This commit is contained in:
parent
30cf79fa62
commit
38069b922f
@ -15,10 +15,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "parted-3.4";
|
||||
pname = "parted";
|
||||
version = "3.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/parted/${name}.tar.xz";
|
||||
url = "mirror://gnu/parted/parted-${version}.tar.xz";
|
||||
sha256 = "sha256-4SmAIkctpVibfyvh1e48G2bsPZbfutA9xkKv0AnaU0I=";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user