Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 41 lines 655 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, decorator 6, pytest 7, isort 8, flake8 9}: 10 11buildPythonPackage rec { 12 pname = "validators"; 13 version = "0.13.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "ea9bf8bf22aa692c205e12830d90b3b93950e5122d22bed9eb2f2fece0bba298"; 18 }; 19 20 propagatedBuildInputs = [ 21 six 22 decorator 23 ]; 24 25 checkInputs = [ 26 pytest 27 flake8 28 isort 29 ]; 30 31 checkPhase = '' 32 pytest 33 ''; 34 35 meta = with lib; { 36 description = "Python Data Validation for Humans"; 37 homepage = https://github.com/kvesteri/validators; 38 license = licenses.bsd3; 39 maintainers = [ maintainers.costrouc ]; 40 }; 41}