mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +03:00
33 lines
710 B
Nix
33 lines
710 B
Nix
|
{ nixpkgs ? (import ./nix/nixpkgs.nix)
|
||
|
}:
|
||
|
|
||
|
with nixpkgs;
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "bcachefs-tools-${version}";
|
||
|
version = "git";
|
||
|
|
||
|
src = lib.cleanSource ./.; # NOTE: ignore .git, otherwise things get weird!
|
||
|
|
||
|
nativeBuildInputs = [ git pkgconfig ];
|
||
|
buildInputs =
|
||
|
[ liburcu libuuid libaio zlib attr keyutils
|
||
|
libsodium libscrypt
|
||
|
];
|
||
|
|
||
|
enableParallelBuilding = true;
|
||
|
makeFlags =
|
||
|
[ "PREFIX=$(out)"
|
||
|
];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Userspace tools for bcachefs";
|
||
|
homepage = http://bcachefs.org;
|
||
|
license = licenses.gpl2;
|
||
|
platforms = platforms.linux;
|
||
|
maintainers =
|
||
|
[ "Kent Overstreet <kent.overstreet@gmail.com>"
|
||
|
];
|
||
|
};
|
||
|
}
|