2024-11-05 14:17:10 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytestCheckHook,
|
|
|
|
setuptools,
|
|
|
|
ward,
|
|
|
|
pythonOlder,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "linuxpy";
|
2025-05-07 12:03:27 +00:00
|
|
|
version = "0.21.0";
|
2024-11-05 14:17:10 +01:00
|
|
|
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2025-05-07 12:03:27 +00:00
|
|
|
sha256 = "sha256-13TWyTM1FvyAPNUQ4o3yTQHh7ezxysVMiEl+eLDkHGo=";
|
2024-11-05 14:17:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "linuxpy" ];
|
|
|
|
|
|
|
|
# Checks depend on WARD testing framework which is broken
|
|
|
|
doCheck = false;
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
ward
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Human friendly interface to Linux subsystems using Python";
|
|
|
|
homepage = "https://github.com/tiagocoutinho/linuxpy";
|
|
|
|
license = licenses.gpl3Plus;
|
2025-04-21 11:56:57 +02:00
|
|
|
maintainers = with lib.maintainers; [ willow ];
|
2024-11-05 14:17:10 +01:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|