blob: 2b180e9f8aff29ca0e8db37c1e097ab11ab192dc (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
ward,
}:
buildPythonPackage rec {
pname = "linuxpy";
version = "0.21.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-13TWyTM1FvyAPNUQ4o3yTQHh7ezxysVMiEl+eLDkHGo=";
};
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;
};
}
|