3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/bcachefs-tools/default.nix

28 lines
879 B
Nix
Raw Normal View History

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