diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/cerberus')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/cerberus/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/cerberus/default.nix b/nixpkgs/pkgs/development/python-modules/cerberus/default.nix new file mode 100644 index 000000000000..4c3421750218 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/cerberus/default.nix @@ -0,0 +1,19 @@ +{ stdenv, buildPythonPackage, fetchPypi, pytestrunner, pytest }: + +buildPythonPackage rec { + pname = "Cerberus"; + version = "1.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "f5c2e048fb15ecb3c088d192164316093fcfa602a74b3386eefb2983aa7e800a"; + }; + + checkInputs = [ pytestrunner pytest ]; + + meta = with stdenv.lib; { + homepage = http://python-cerberus.org/; + description = "Lightweight, extensible schema and data validation tool for Python dictionaries"; + license = licenses.mit; + }; +} |