1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "dotmap";
11 version = "1.3.30";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-WCGnkz8HX7R1Y0F8DpLgt8AxFYtMmmp+VhY0ebZYs2g=";
19 };
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 enabledTestPaths = [ "dotmap/test.py" ];
24
25 pythonImportsCheck = [ "dotmap" ];
26
27 meta = with lib; {
28 description = "Python for dot-access dictionaries";
29 homepage = "https://github.com/drgrib/dotmap";
30 license = with licenses; [ mit ];
31 maintainers = with maintainers; [ fab ];
32 };
33}