nixpkgs/pkgs/development/python-modules/btrfs/default.nix
2024-05-22 17:32:03 +02:00

32 lines
606 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "btrfs";
version = "14.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-BPKPwT33i8fQYJkUZbnJ8nQNbmKw0Dq6ekb9mr7awEY=";
};
# no tests (in v12)
doCheck = false;
pythonImportsCheck = [ "btrfs" ];
meta = with lib; {
description = "Inspect btrfs filesystems";
homepage = "https://github.com/knorrie/python-btrfs";
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [
evils
Luflosi
];
};
}