nixpkgs/pkgs/tools/filesystems/bcachefs-tools/default.nix

28 lines
885 B
Nix
Raw Normal View History

{ stdenv, pkgs, fetchgit, pkgconfig, attr, libuuid, libscrypt, libsodium
, keyutils, liburcu, zlib, libaio, zstd }:
2017-05-07 16:53:12 +00:00
stdenv.mkDerivation rec {
name = "bcachefs-tools-unstable-2018-03-20";
2017-05-07 16:53:12 +00:00
src = fetchgit {
url = "https://evilpiepirate.org/git/bcachefs-tools.git";
rev = "ff5e165532a2eed87700649d03f91a612a58e92a";
sha256 = "1mikhffkr4a1yhy36yh70dhgcimcpvdm5mjl5fyni0bpgqrw67dn";
2017-05-07 16:53:12 +00:00
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ attr libuuid libscrypt libsodium keyutils liburcu zlib libaio zstd ];
patches = [ ./Makefile.patch ];
2017-05-07 16:53:12 +00:00
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Tool for managing bcachefs filesystems";
homepage = https://bcachefs.org/;
2017-05-07 16:53:12 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ davidak chiiruno];
2017-05-07 16:53:12 +00:00
platforms = platforms.linux;
};
}