2018-02-09 23:34:42 +01:00
|
|
|
{ stdenv, pkgs, fetchgit, pkgconfig, attr, libuuid, libscrypt, libsodium
|
|
|
|
, keyutils, liburcu, zlib, libaio }:
|
2017-05-07 18:53:12 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-09 23:34:42 +01:00
|
|
|
name = "bcachefs-tools-unstable-2018-02-08";
|
2017-05-07 18:53:12 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://evilpiepirate.org/git/bcachefs-tools.git";
|
2018-02-09 23:34:42 +01:00
|
|
|
rev = "fc96071b58c28ea492103e7649c0efd5bab50ead";
|
|
|
|
sha256 = "0a2sxkz0mkmvb5g4k2v8g2c89dj29haw9bd3bpwk0dsfkjif92vy";
|
2017-05-07 18:53:12 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ attr libuuid libscrypt libsodium keyutils liburcu zlib libaio ];
|
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;
|
|
|
|
maintainers = with maintainers; [ davidak ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|