blob: c9dd82e15e0a4f3a70d195f3a63caccd2bd51375 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
six,
}:
buildPythonPackage rec {
pname = "flatten-dict";
version = "0.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "ianlini";
repo = "flatten-dict";
rev = version;
hash = "sha256-uHenKoD4eLm9sMREVuV0BB/oUgh4NMiuj+IWd0hlxNQ=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "flatten_dict" ];
meta = {
description = "Module for flattening and unflattening dict-like objects";
homepage = "https://github.com/ianlini/flatten-dict";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|