depot/third_party/nixpkgs/pkgs/development/python-modules/validators/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

35 lines
631 B
Nix

{ 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 ];
};
}