Merge pull request #171718 from trofi/update-btrfs-progs
btrfs-progs: 5.16.2 -> 5.17
This commit is contained in:
commit
e07e51a5d7
1 changed files with 14 additions and 4 deletions
|
@ -1,22 +1,24 @@
|
|||
{ lib, stdenv, fetchurl
|
||||
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, pkg-config, python3, xmlto
|
||||
, pkg-config, python3, sphinx
|
||||
, zstd
|
||||
, acl, attr, e2fsprogs, libuuid, lzo, udev, zlib
|
||||
, runCommand, btrfs-progs
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "btrfs-progs";
|
||||
version = "5.16.2";
|
||||
version = "5.17";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz";
|
||||
sha256 = "sha256-npswOh0P2c6q8gTudMHI+h/VV5TiI9n+K8Yodey9U9I=";
|
||||
sha256 = "sha256-Y7d4/kwrrRjjcdzljtNUiOCPWDkhNnRU/diFB6PQ2J4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt
|
||||
pkg-config
|
||||
python3 python3.pkgs.setuptools
|
||||
sphinx
|
||||
];
|
||||
|
||||
buildInputs = [ acl attr e2fsprogs libuuid lzo python3 zlib zstd ] ++ lib.optionals stdenv.hostPlatform.isGnu [ udev ];
|
||||
|
@ -47,6 +49,14 @@ stdenv.mkDerivation rec {
|
|||
[ -e $out/success ]
|
||||
'';
|
||||
};
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
# No nicer place to find latest release.
|
||||
url = "https://github.com/kdave/btrfs-progs.git";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for the btrfs filesystem";
|
||||
homepage = "https://btrfs.wiki.kernel.org/";
|
||||
|
|
Loading…
Reference in a new issue