1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4}:
5
6buildPythonPackage rec {
7 pname = "flatdict";
8 version = "4.0.1";
9
10 src = fetchFromGitHub {
11 owner = "gmr";
12 repo = pname;
13 rev = version;
14 hash = "sha256-CWsTiCNdIKSQtjpQC07lhZoU1hXT/MGpXdj649x2GlU=";
15 };
16
17 pythonImportsCheck = [
18 "flatdict"
19 ];
20
21 meta = with lib; {
22 description = "Python module for interacting with nested dicts as a single level dict with delimited keys";
23 homepage = "https://github.com/gmr/flatdict";
24 license = licenses.bsd3;
25 maintainers = with maintainers; [ lovesegfault ];
26 };
27}