1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-02 13:59:07 +03:00
nixpkgs/pkgs/development/python-modules/validators/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
618 B
Nix
Raw Normal View History

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