nixpkgs/pkgs/development/python-modules/types-toml/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

28 lines
552 B
Nix

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