e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
25 lines
815 B
Nix
25 lines
815 B
Nix
{ lib, buildPythonPackage, fetchzip, six }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-linux-procfs";
|
|
version = "0.6.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchzip {
|
|
url = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/snapshot/python-linux-procfs-v${version}.tar.gz";
|
|
hash = "sha256-iaKL7CWJbIvvcUCah7bKdwKZoZJehbQpZ7n0liO8N64=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|