depot/third_party/nixpkgs/pkgs/development/python-modules/btrfs/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
583 B
Nix

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