evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / voluptuous / default.nix
blob75293125764f2a22ff8822df4bf4cc2746fa2878
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "voluptuous";
12   version = "0.15.2";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "alecthomas";
19     repo = "voluptuous";
20     rev = "refs/tags/${version}";
21     hash = "sha256-TGTdYme3ZRM51YFNX/ESFc6+3QpeO/gAXYW6MT73/Ss=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "voluptuous" ];
30   pytestFlagsArray = [ "voluptuous/tests/" ];
32   meta = with lib; {
33     description = "Python data validation library";
34     downloadPage = "https://github.com/alecthomas/voluptuous";
35     homepage = "http://alecthomas.github.io/voluptuous/";
36     changelog = "https://github.com/alecthomas/voluptuous/blob/${version}/CHANGELOG.md";
37     license = licenses.bsd3;
38     maintainers = with maintainers; [ fab ];
39   };