My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/validators/default.nix

35 lines
631 B

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, decorator
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "validators";
version = "0.18.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "37cd9a9213278538ad09b5b9f9134266e7c226ab1fede1d500e29e0a8fbb9ea6";
};
propagatedBuildInputs = [
decorator
six
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Python Data Validation for Humans";
homepage = "https://github.com/kvesteri/validators";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}