kmod: 29 -> 30
While at it added trivial updater. Changes: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/plain/NEWS?h=v30
This commit is contained in:
parent
49546f4413
commit
3feca2a040
1 changed files with 10 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
||||||
, libxslt, xz, zstd, elf-header
|
, libxslt, xz, zstd, elf-header
|
||||||
, withDevdoc ? stdenv.hostPlatform == stdenv.buildPlatform
|
, withDevdoc ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||||
, withStatic ? stdenv.hostPlatform.isStatic
|
, withStatic ? stdenv.hostPlatform.isStatic
|
||||||
|
, gitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -11,7 +12,7 @@ let
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "kmod";
|
pname = "kmod";
|
||||||
version = "29";
|
version = "30";
|
||||||
|
|
||||||
# autogen.sh is missing from the release tarball,
|
# autogen.sh is missing from the release tarball,
|
||||||
# and we need to run it to regenerate gtk_doc.make,
|
# and we need to run it to regenerate gtk_doc.make,
|
||||||
|
@ -20,7 +21,7 @@ in stdenv.mkDerivation rec {
|
||||||
# https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/commit/.gitignore?id=61a93a043aa52ad62a11ba940d4ba93cb3254e78
|
# https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/commit/.gitignore?id=61a93a043aa52ad62a11ba940d4ba93cb3254e78
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/snapshot/kmod-${version}.tar.gz";
|
url = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/snapshot/kmod-${version}.tar.gz";
|
||||||
sha256 = "sha256-7O5VdBd8rBZdIERPE+2zkjj5POvSurwlV2EpWmkFUD0=";
|
sha256 = "sha256-/dih2LoqgRrAsVdHRwld28T8pXgqnzapnQhqkXnxbbc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "lib" ] ++ lib.optional withDevdoc "devdoc";
|
outputs = [ "out" "dev" "lib" ] ++ lib.optional withDevdoc "devdoc";
|
||||||
|
@ -57,6 +58,13 @@ in stdenv.mkDerivation rec {
|
||||||
ln -s bin $out/sbin
|
ln -s bin $out/sbin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater {
|
||||||
|
inherit pname version;
|
||||||
|
# No nicer place to find latest release.
|
||||||
|
url = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git";
|
||||||
|
rev-prefix = "v";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tools for loading and managing Linux kernel modules";
|
description = "Tools for loading and managing Linux kernel modules";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue