tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.python-linux-procfs: init at 0.6.3
Enno Richter
4 years ago
4c413847
00ead2ad
+27
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
python-linux-procfs
default.nix
top-level
python-packages.nix
+25
pkgs/development/python-modules/python-linux-procfs/default.nix
reviewed
···
1
1
+
{ lib, buildPythonPackage, fetchgit, six }:
2
2
+
3
3
+
buildPythonPackage rec {
4
4
+
pname = "python-linux-procfs";
5
5
+
version = "0.6.3";
6
6
+
7
7
+
src = fetchgit {
8
8
+
url = "https://git.kernel.org/pub/scm/libs/python/${pname}/${pname}.git";
9
9
+
rev = "v${version}";
10
10
+
sha256 = "sha256-PPgMlL9oj4HYUsr444ZrGo1LSZBl9hL5SE98IASUpbc=";
11
11
+
};
12
12
+
13
13
+
propagatedBuildInputs = [ six ];
14
14
+
15
15
+
# contains no tests
16
16
+
doCheck = false;
17
17
+
pythonImportsCheck = [ "procfs" ];
18
18
+
19
19
+
meta = with lib; {
20
20
+
description = "Python classes to extract information from the Linux kernel /proc files";
21
21
+
homepage = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/";
22
22
+
license = licenses.gpl2Plus;
23
23
+
maintainers = with maintainers; [ elohmeier ];
24
24
+
};
25
25
+
}
+2
pkgs/top-level/python-packages.nix
reviewed
···
6929
6929
6930
6930
python-Levenshtein = callPackage ../development/python-modules/python-levenshtein { };
6931
6931
6932
6932
+
python-linux-procfs = callPackage ../development/python-modules/python-linux-procfs { };
6933
6933
+
6932
6934
python-logstash = callPackage ../development/python-modules/python-logstash { };
6933
6935
6934
6936
python-ly = callPackage ../development/python-modules/python-ly { };