blob: 2c6b588cbb93526eac26d49c909afe00a66475fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyheck,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "dotwiz";
version = "0.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rnag";
repo = "dotwiz";
rev = "refs/tags/v${version}";
hash = "sha256-ABmkwpJ40JceNJieW5bhg0gqWNrR6Wxj84nLCjKU11A=";
};
propagatedBuildInputs = [ pyheck ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dotwiz" ];
pytestFlagsArray = [
"--ignore=benchmarks"
"--ignore-glob=*integration*"
];
meta = with lib; {
description = "Dict subclass that supports dot access notation";
homepage = "https://github.com/rnag/dotwiz";
changelog = "https://github.com/rnag/dotwiz/blob/v${version}/HISTORY.rst";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|