2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-07-18 16:06:22 +00:00
|
|
|
, buildPythonPackage
|
2021-05-03 20:48:10 +00:00
|
|
|
, fetchPypi
|
2020-07-18 16:06:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "btrfs";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "14.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-BPKPwT33i8fQYJkUZbnJ8nQNbmKw0Dq6ekb9mr7awEY=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2021-04-26 19:14:03 +00:00
|
|
|
# no tests (in v12)
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "btrfs" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-07-18 16:06:22 +00:00
|
|
|
description = "Inspect btrfs filesystems";
|
|
|
|
homepage = "https://github.com/knorrie/python-btrfs";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-05-03 20:48:10 +00:00
|
|
|
maintainers = with maintainers; [ evils Luflosi ];
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
}
|