Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 19 lines 505 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytestrunner, pytest }: 2 3buildPythonPackage rec { 4 pname = "Cerberus"; 5 version = "1.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5"; 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}