2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
btrfs-progs,
|
2022-12-17 10:02:37 +00:00
|
|
|
}:
|
|
|
|
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;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
raskin
|
|
|
|
lopsided98
|
|
|
|
];
|
2022-12-17 10:02:37 +00:00
|
|
|
};
|
|
|
|
}
|