nixpkgs/pkgs/development/python-modules/btrfs/default.nix
2021-04-30 09:00:16 +02:00

26 lines
560 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "btrfs";
version = "13";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-NSyzhpHYDkunuU104XnbVCcVRNDoVBz4KuJRrE7WMO0=";
};
# 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 ];
};
}