2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchgit, pkgconfig, attr, libuuid, libscrypt, libsodium
|
2018-03-27 11:40:44 +02:00
|
|
|
, keyutils, liburcu, zlib, libaio, zstd }:
|
2017-05-07 18:53:12 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-04-16 10:30:57 +02:00
|
|
|
name = "bcachefs-tools-unstable-2018-04-10";
|
2017-05-07 18:53:12 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://evilpiepirate.org/git/bcachefs-tools.git";
|
2018-04-16 10:30:57 +02:00
|
|
|
rev = "c598d91dcb0c7e95abdacb2711898ae14ab52ca1";
|
|
|
|
sha256 = "1mglw6p1145nryn8babkg2hj778kqa0vrzjbdp9kxjlyb3fksmff";
|
2017-05-07 18:53:12 +02:00
|
|
|
};
|
|
|
|
|
2018-03-27 11:40:44 +02:00
|
|
|
enableParallelBuilding = true;
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-03-27 11:40:44 +02:00
|
|
|
buildInputs = [ attr libuuid libscrypt libsodium keyutils liburcu zlib libaio zstd ];
|
|
|
|
patches = [ ./Makefile.patch ];
|
2017-05-07 18:53:12 +02:00
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tool for managing bcachefs filesystems";
|
2018-02-09 23:34:42 +01:00
|
|
|
homepage = https://bcachefs.org/;
|
2017-05-07 18:53:12 +02:00
|
|
|
license = licenses.gpl2;
|
2018-03-27 11:40:44 +02:00
|
|
|
maintainers = with maintainers; [ davidak chiiruno];
|
2017-05-07 18:53:12 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|