depot/third_party/nixpkgs/pkgs/development/python-modules/btrfs/default.nix

32 lines
606 B
Nix
Raw Normal View History

{
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
];
};
}