depot/third_party/nixpkgs/pkgs/development/python-modules/validators/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

35 lines
618 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, decorator
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "validators";
version = "0.20.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-JBSM5OZBAKLV4mcjPiPnr+tVMWtH0w+q5+tucpK8Imo=";
};
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 ];
};
}