parted: replace name with pname&version

This commit is contained in:
Felix Buehler 2021-08-02 11:41:34 +02:00
parent 30cf79fa62
commit 38069b922f

View File

@ -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=";
};