Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 19 lines 519 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytestrunner, pytest }: 2 3buildPythonPackage rec { 4 pname = "Cerberus"; 5 version = "1.3.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0be48fc0dc84f83202a5309c0aa17cd5393e70731a1698a50d118b762fbe6875"; 10 }; 11 12 checkInputs = [ pytestrunner pytest ]; 13 14 meta = with stdenv.lib; { 15 homepage = http://python-cerberus.org/; 16 description = "Lightweight, extensible schema and data validation tool for Python dictionaries"; 17 license = licenses.mit; 18 }; 19}