Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / python-linux-procfs / default.nix
blob4c025b1add9cfaaf9d3dc1140c1e4c4ba43ffc1b
1 { lib, buildPythonPackage, fetchgit, six }:
3 buildPythonPackage rec {
4   pname = "python-linux-procfs";
5   version = "0.6.3";
7   src = fetchgit {
8     url = "https://git.kernel.org/pub/scm/libs/python/${pname}/${pname}.git";
9     rev = "v${version}";
10     hash = "sha256-PPgMlL9oj4HYUsr444ZrGo1LSZBl9hL5SE98IASUpbc=";
11   };
13   propagatedBuildInputs = [ six ];
15   # contains no tests
16   doCheck = false;
17   pythonImportsCheck = [ "procfs" ];
19   meta = with lib; {
20     description = "Python classes to extract information from the Linux kernel /proc files";
21     homepage = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/";
22     license = licenses.gpl2Plus;
23     maintainers = with maintainers; [ elohmeier ];
24   };