about summary refs log tree commit diff
path: root/pkgs/development/python-modules/btrfs/default.nix
blob: a534257c6dbeff680a0f261ba8c7173642ad0637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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 ];
  };
}