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

26 lines
799 B
Nix
Raw Normal View History

{ stdenv, pkgs, fetchgit, pkgconfig, attr, libuuid, libscrypt, libsodium
, keyutils, liburcu, zlib, libaio }:
2017-05-07 18:53:12 +02:00
stdenv.mkDerivation rec {
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";
rev = "fc96071b58c28ea492103e7649c0efd5bab50ead";
sha256 = "0a2sxkz0mkmvb5g4k2v8g2c89dj29haw9bd3bpwk0dsfkjif92vy";
2017-05-07 18:53:12 +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";
homepage = https://bcachefs.org/;
2017-05-07 18:53:12 +02:00
license = licenses.gpl2;
maintainers = with maintainers; [ davidak ];
platforms = platforms.linux;
};
}