depot/third_party/nixpkgs/pkgs/development/python-modules/colander/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

42 lines
816 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
babel,
translationstring,
iso8601,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "colander";
version = "2.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-QZzWgXjS7m7kyuXVyxgwclY0sKKECRcVbonrJZIjfvM=";
};
nativeBuildInputs = [
babel
setuptools
];
propagatedBuildInputs = [
translationstring
iso8601
];
pythonImportsCheck = [ "colander" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Simple schema-based serialization and deserialization library";
homepage = "https://github.com/Pylons/colander";
license = licenses.free; # http://repoze.org/LICENSE.txt
maintainers = with maintainers; [ domenkozar ];
};
}