python3Packages.python-linux-procfs: init at 0.6.3

This commit is contained in:
Enno Richter
2021-06-21 12:55:51 +02:00
parent 00ead2addd
commit 4c413847d4
2 changed files with 27 additions and 0 deletions
@@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchgit, six }:
buildPythonPackage rec {
pname = "python-linux-procfs";
version = "0.6.3";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/libs/python/${pname}/${pname}.git";
rev = "v${version}";
sha256 = "sha256-PPgMlL9oj4HYUsr444ZrGo1LSZBl9hL5SE98IASUpbc=";
};
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 ];
};
}