utillinux: 2.30 -> 2.30.2

This commit is contained in:
Tuomas Tynkkynen 2017-10-22 01:40:00 +03:00
parent d0631d4445
commit 7b4db5da18

View File

@ -5,23 +5,18 @@ let
version = lib.concatStringsSep "." ([ majorVersion ]
++ lib.optional (patchVersion != "") patchVersion);
majorVersion = "2.30";
patchVersion = "";
patchVersion = "2";
fstrimPatch = fetchpatch {
url = "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/patch/?id=155d48f590a50bb5dc265162ff2f9a971daed543";
sha256 = "1wj0fj3iwaimr6p8wxg6l2i1hjyrfgcwcxziyxqz8acxba7k6zxh";
};
in stdenv.mkDerivation rec {
name = "util-linux-${version}";
src = fetchurl {
url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${name}.tar.xz";
sha256 = "13d0ax8bcapga8phj2nclx86w57ddqxbr98ajibpzjq6d7zs8262";
sha256 = "1p494mwd8v6p6mpmmjybkc7bz1qwp9x4cdi8hdvp2nwvkr4fanvv";
};
patches = [
./rtcwake-search-PATH-for-shutdown.patch
fstrimPatch
];
outputs = [ "bin" "dev" "out" "man" ];