Merge pull request #164674 from lovesegfault/flatdict-init
python3Packages.flatdict: init at 4.0.0
This commit is contained in:
commit
d468bc8524
2 changed files with 29 additions and 0 deletions
27
pkgs/development/python-modules/flatdict/default.nix
Normal file
27
pkgs/development/python-modules/flatdict/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3027,6 +3027,8 @@ in {
|
||||||
inherit (pkgs) flatbuffers;
|
inherit (pkgs) flatbuffers;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
flatdict = callPackage ../development/python-modules/flatdict { };
|
||||||
|
|
||||||
flatten-dict = callPackage ../development/python-modules/flatten-dict { };
|
flatten-dict = callPackage ../development/python-modules/flatten-dict { };
|
||||||
|
|
||||||
flax = callPackage ../development/python-modules/flax { };
|
flax = callPackage ../development/python-modules/flax { };
|
||||||
|
|
Loading…
Reference in a new issue