Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / dotwiz / default.nix
blobf7fcd7847b7602016bfef582b3b188c3fb7cef8d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pyheck
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "dotwiz";
11   version = "0.4.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "rnag";
18     repo = "dotwiz";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-ABmkwpJ40JceNJieW5bhg0gqWNrR6Wxj84nLCjKU11A=";
21   };
23   propagatedBuildInputs = [
24     pyheck
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "dotwiz"
33   ];
35   pytestFlagsArray = [
36     "--ignore=benchmarks"
37     "--ignore-glob=*integration*"
38   ];
40   meta = with lib; {
41     description = "Dict subclass that supports dot access notation";
42     homepage = "https://github.com/rnag/dotwiz";
43     changelog = "https://github.com/rnag/dotwiz/blob/v${version}/HISTORY.rst";
44     license = licenses.mit;
45     maintainers = with maintainers; [ fab ];
46   };