nixpkgs/pkgs/development/python-modules/types-psutil/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

30 lines
574 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "types-psutil";
version = "5.9.5.9";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-xsfmtBtvfruHr9VlDfNgdR0Ois8NJ2t6xk0A9Bm+uSI=";
};
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"psutil-stubs"
];
meta = with lib; {
description = "Typing stubs for psutil";
homepage = "https://github.com/python/typeshed";
license = licenses.asl20;
maintainers = with maintainers; [ anselmschueler ];
};
}