1{
2 lib,
3 buildPythonPackage,
4 fetchzip,
5 six,
6}:
7
8buildPythonPackage rec {
9 pname = "python-linux-procfs";
10 version = "0.6.3";
11 format = "setuptools";
12
13 src = fetchzip {
14 url = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/snapshot/python-linux-procfs-v${version}.tar.gz";
15 hash = "sha256-iaKL7CWJbIvvcUCah7bKdwKZoZJehbQpZ7n0liO8N64=";
16 };
17
18 propagatedBuildInputs = [ six ];
19
20 # contains no tests
21 doCheck = false;
22 pythonImportsCheck = [ "procfs" ];
23
24 meta = with lib; {
25 description = "Python classes to extract information from the Linux kernel /proc files";
26 mainProgram = "pflags";
27 homepage = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/";
28 license = licenses.gpl2Plus;
29 maintainers = with maintainers; [ elohmeier ];
30 };
31}