summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-linux-procfs
diff options
context:
space:
mode:
authorEnno Richter <enno@nerdworks.de>2021-06-21 12:55:51 +0200
committerEnno Richter <enno@nerdworks.de>2021-06-22 10:02:36 +0200
commit4c413847d4c97f96c296e1e7ba789a261fa27bb5 (patch)
tree53323528ded12eaef9f9686d9462ae621789caba /pkgs/development/python-modules/python-linux-procfs
parent00ead2addd89654e843a5eb977ecb089044a2245 (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.nix25
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 000000000000..702be64075ae
--- /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 ];
+ };
+}