a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
26 lines
543 B
Nix
26 lines
543 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, btrfs-progs
|
|
}:
|
|
buildPythonPackage {
|
|
pname = "btrfsutil";
|
|
inherit (btrfs-progs) version src;
|
|
format = "setuptools";
|
|
|
|
buildInputs = [ btrfs-progs ];
|
|
|
|
preConfigure = ''
|
|
cd libbtrfsutil/python
|
|
'';
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "btrfsutil" ];
|
|
|
|
meta = with lib; {
|
|
description = "Library for managing Btrfs filesystems";
|
|
homepage = "https://btrfs.wiki.kernel.org/";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ raskin lopsided98 ];
|
|
};
|
|
}
|