forked from mirrors/nixpkgs
bcachefs-tools: 2018-02-08 -> 2018-03-20
This commit is contained in:
parent
00a43001d4
commit
1b8d2a3119
13
pkgs/tools/filesystems/bcachefs-tools/Makefile.patch
Normal file
13
pkgs/tools/filesystems/bcachefs-tools/Makefile.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index af7a206..553ac70 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -47,7 +47,7 @@ ifeq ($(PREFIX),/usr)
|
||||
INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools
|
||||
else
|
||||
ROOT_SBINDIR=$(PREFIX)/sbin
|
||||
- INITRAMFS_DIR=/etc/initramfs-tools
|
||||
+ INITRAMFS_DIR=$(PREFIX)/etc/initramfs-tools
|
||||
endif
|
||||
|
||||
.PHONY: all
|
|
@ -1,17 +1,19 @@
|
|||
{ stdenv, pkgs, fetchgit, pkgconfig, attr, libuuid, libscrypt, libsodium
|
||||
, keyutils, liburcu, zlib, libaio }:
|
||||
, keyutils, liburcu, zlib, libaio, zstd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bcachefs-tools-unstable-2018-02-08";
|
||||
name = "bcachefs-tools-unstable-2018-03-20";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://evilpiepirate.org/git/bcachefs-tools.git";
|
||||
rev = "fc96071b58c28ea492103e7649c0efd5bab50ead";
|
||||
sha256 = "0a2sxkz0mkmvb5g4k2v8g2c89dj29haw9bd3bpwk0dsfkjif92vy";
|
||||
rev = "ff5e165532a2eed87700649d03f91a612a58e92a";
|
||||
sha256 = "1mikhffkr4a1yhy36yh70dhgcimcpvdm5mjl5fyni0bpgqrw67dn";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ attr libuuid libscrypt libsodium keyutils liburcu zlib libaio ];
|
||||
buildInputs = [ attr libuuid libscrypt libsodium keyutils liburcu zlib libaio zstd ];
|
||||
patches = [ ./Makefile.patch ];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
|
@ -19,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||
description = "Tool for managing bcachefs filesystems";
|
||||
homepage = https://bcachefs.org/;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ davidak ];
|
||||
maintainers = with maintainers; [ davidak chiiruno];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue