blob: 4139f7cea8c7d05ebadd3542850709d7daff2f39 (
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
|
{
lib,
buildPythonPackage,
fetchurl,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "python-linux-procfs";
version = "0.7.3";
pyproject = true;
src = fetchurl {
url = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/snapshot/python-linux-procfs-v${version}.tar.gz";
hash = "sha256-6js8+PBqMwNYSe74zqZP8CZ5nt1ByjCWnex+wBY/LZU=";
};
build-system = [ setuptools ];
dependencies = [ six ];
# contains no tests
doCheck = false;
pythonImportsCheck = [ "procfs" ];
meta = {
description = "Python classes to extract information from the Linux kernel /proc files";
mainProgram = "pflags";
homepage = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/";
license = lib.licenses.gpl2Plus;
};
}
|