1{ lib, buildPythonPackage, fetchgit, six }: 2 3buildPythonPackage rec { 4 pname = "python-linux-procfs"; 5 version = "0.6.3"; 6 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 }; 12 13 propagatedBuildInputs = [ six ]; 14 15 # contains no tests 16 doCheck = false; 17 pythonImportsCheck = [ "procfs" ]; 18 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 }; 25}