Merge pull request #164674 from lovesegfault/flatdict-init

python3Packages.flatdict: init at 4.0.0
This commit is contained in:
Bernardo Meurer 2022-03-17 22:53:05 -07:00 committed by GitHub
commit d468bc8524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "flatdict";
version = "4.0.0";
src = fetchFromGitHub {
owner = "gmr";
repo = pname;
rev = version;
hash = "sha256-qH4MMDSXf92BPavnRdCka6lRoWZg+2KnHpHA8kt5JaM=";
};
pythonImportsCheck = [
"flatdict"
];
meta = with lib; {
description = "Python module for interacting with nested dicts as a single level dict with delimited keys";
homepage = "https://github.com/gmr/flatdict";
license = licenses.bsd3;
maintainers = with maintainers; [ lovesegfault ];
};
}

View file

@ -3027,6 +3027,8 @@ in {
inherit (pkgs) flatbuffers;
};
flatdict = callPackage ../development/python-modules/flatdict { };
flatten-dict = callPackage ../development/python-modules/flatten-dict { };
flax = callPackage ../development/python-modules/flax { };