Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / voluptuous / default.nix
blobc7e82d193f58f56024f9b6d6e7fa8065c7a39e33
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "voluptuous";
9   version = "0.13.1";
11   src = fetchFromGitHub {
12     owner = "alecthomas";
13     repo = pname;
14     rev = version;
15     hash = "sha256-cz3Bd+/yPh+VOHxzi/W+gbDh/H5Nl/n4jvxDOirmAVk=";
16   };
18   nativeCheckInputs = [
19     pytestCheckHook
20   ];
22   pythonImportsCheck = [
23     "voluptuous"
24   ];
26   pytestFlagsArray = [
27     "voluptuous/tests/"
28   ];
30   meta = with lib; {
31     description = "Python data validation library";
32     homepage = "http://alecthomas.github.io/voluptuous/";
33     license = licenses.bsd3;
34     maintainers = with maintainers; [ fab ];
35   };