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

20 lines
483 B
Nix

{ buildPythonPackage, lib, fetchPypi }:
buildPythonPackage rec {
pname = "fields";
version = "5.0.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-MdSqA9jUTjXfE8Qx3jUTaZfwR6kkpZfYT3vCCeG+Vyc=";
};
pythonImportsCheck = [ "fields" ];
meta = with lib; {
description = "Container class boilerplate killer";
homepage = "https://github.com/ionelmc/python-fields";
license = licenses.bsd2;
maintainers = [ maintainers.sheepforce ];
};
}