mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 09:04:16 +01:00
41 lines
804 B
Nix
41 lines
804 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
ward,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "linuxpy";
|
|
version = "0.23.0";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-q3gPUJL8M1krSjcPZokmMNxE+g1WLWFJYP4g6Q5/APc=";
|
|
};
|
|
|
|
pythonImportsCheck = [ "linuxpy" ];
|
|
|
|
# Checks depend on WARD testing framework which is broken
|
|
doCheck = false;
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
ward
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
meta = {
|
|
description = "Human friendly interface to Linux subsystems using Python";
|
|
homepage = "https://github.com/tiagocoutinho/linuxpy";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ willow ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|