mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
43 lines
816 B
Nix
43 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 ];
|
|
};
|
|
}
|