diff options
author | Enno Richter <enno@nerdworks.de> | 2021-06-21 12:55:51 +0200 |
---|---|---|
committer | Enno Richter <enno@nerdworks.de> | 2021-06-22 10:02:36 +0200 |
commit | 4c413847d4c97f96c296e1e7ba789a261fa27bb5 (patch) | |
tree | 53323528ded12eaef9f9686d9462ae621789caba /pkgs/development/python-modules/python-linux-procfs | |
parent | 00ead2addd89654e843a5eb977ecb089044a2245 (diff) |
python3Packages.python-linux-procfs: init at 0.6.3
Diffstat (limited to 'pkgs/development/python-modules/python-linux-procfs')
-rw-r--r-- | pkgs/development/python-modules/python-linux-procfs/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-linux-procfs/default.nix b/pkgs/development/python-modules/python-linux-procfs/default.nix new file mode 100644 index 0000000000000..702be64075ae7 --- /dev/null +++ b/pkgs/development/python-modules/python-linux-procfs/default.nix @@ -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 ]; + }; +} |