2021-06-28 23:13:55 +00:00
|
|
|
{ lib, buildPythonPackage, fetchgit, six }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-linux-procfs";
|
|
|
|
version = "0.6.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.kernel.org/pub/scm/libs/python/${pname}/${pname}.git";
|
|
|
|
rev = "v${version}";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-PPgMlL9oj4HYUsr444ZrGo1LSZBl9hL5SE98IASUpbc=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
# contains no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "procfs" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python classes to extract information from the Linux kernel /proc files";
|
|
|
|
homepage = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
|
|
};
|
|
|
|
}
|