evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / python-linux-procfs / default.nix
blob3a0ed111cb5cb255f060e667da99e1a69417bdd0
2   lib,
3   buildPythonPackage,
4   fetchurl,
5   setuptools,
6   six,
7 }:
9 buildPythonPackage rec {
10   pname = "python-linux-procfs";
11   version = "0.7.3";
12   pyproject = true;
14   src = fetchurl {
15     url = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/snapshot/python-linux-procfs-v${version}.tar.gz";
16     hash = "sha256-6js8+PBqMwNYSe74zqZP8CZ5nt1ByjCWnex+wBY/LZU=";
17   };
19   build-system = [ setuptools ];
21   dependencies = [ six ];
23   # contains no tests
24   doCheck = false;
25   pythonImportsCheck = [ "procfs" ];
27   meta = with lib; {
28     description = "Python classes to extract information from the Linux kernel /proc files";
29     mainProgram = "pflags";
30     homepage = "https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/";
31     license = licenses.gpl2Plus;
32   };