nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 35 lines 631 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, decorator 6, six 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "validators"; 12 version = "0.18.2"; 13 disabled = isPy27; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "37cd9a9213278538ad09b5b9f9134266e7c226ab1fede1d500e29e0a8fbb9ea6"; 18 }; 19 20 propagatedBuildInputs = [ 21 decorator 22 six 23 ]; 24 25 checkInputs = [ 26 pytestCheckHook 27 ]; 28 29 meta = with lib; { 30 description = "Python Data Validation for Humans"; 31 homepage = "https://github.com/kvesteri/validators"; 32 license = licenses.bsd3; 33 maintainers = [ maintainers.costrouc ]; 34 }; 35}