Files
nixpkgs/pkgs/development/python-modules/python-linux-procfs/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

27 lines
770 B
Nix

{ lib, buildPythonPackage, fetchgit, six }:
buildPythonPackage rec {
pname = "python-linux-procfs";
version = "0.6.3";
format = "setuptools";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/libs/python/${pname}/${pname}.git";
rev = "v${version}";
hash = "sha256-PPgMlL9oj4HYUsr444ZrGo1LSZBl9hL5SE98IASUpbc=";
};
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 ];
};
}