gnupatch: replace name with pname&version

This commit is contained in:
Felix Buehler 2021-07-27 20:43:38 +02:00 committed by Frederik Rietdijk
parent b2a9951e48
commit 69762341e4

View File

@ -3,10 +3,11 @@
}:
stdenv.mkDerivation rec {
name = "patch-2.7.6";
pname = "patch";
version = "2.7.6";
src = fetchurl {
url = "mirror://gnu/patch/${name}.tar.xz";
url = "mirror://gnu/patch/patch-${version}.tar.xz";
sha256 = "1zfqy4rdcy279vwn2z1kbv19dcfw25d2aqy9nzvdkq5bjzd0nqdc";
};