2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2020-05-05 02:08:42 +02:00
|
|
|
, buildPythonPackage
|
2021-04-30 09:00:16 +02:00
|
|
|
, fetchPypi
|
2020-05-05 02:08:42 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "btrfs";
|
2021-04-30 09:00:16 +02:00
|
|
|
version = "13";
|
2020-05-05 02:08:42 +02:00
|
|
|
|
2021-04-30 09:00:16 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-NSyzhpHYDkunuU104XnbVCcVRNDoVBz4KuJRrE7WMO0=";
|
2020-05-05 02:08:42 +02:00
|
|
|
};
|
|
|
|
|
2021-04-17 23:09:59 +02:00
|
|
|
# no tests (in v12)
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "btrfs" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-05-05 02:08:42 +02:00
|
|
|
description = "Inspect btrfs filesystems";
|
|
|
|
homepage = "https://github.com/knorrie/python-btrfs";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-04-30 09:00:16 +02:00
|
|
|
maintainers = with maintainers; [ evils Luflosi ];
|
2020-05-05 02:08:42 +02:00
|
|
|
};
|
|
|
|
}
|