about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/btrfsutil/default.nix
blob: d529ec09c7058dc3c5bbb9ccf779290f511a9b3b (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
{ lib
, buildPythonPackage
, btrfs-progs
}:
buildPythonPackage {
  pname = "btrfsutil";
  inherit (btrfs-progs) version src;
  format = "setuptools";

  buildInputs = [ btrfs-progs ];

  preConfigure = ''
    cd libbtrfsutil/python
  '';

  # No tests
  doCheck = false;
  pythonImportsCheck = [ "btrfsutil" ];

  meta = with lib; {
    description = "Library for managing Btrfs filesystems";
    homepage = "https://btrfs.wiki.kernel.org/";
    license = licenses.lgpl21Plus;
    maintainers = with maintainers; [ raskin lopsided98 ];
  };
}