diff --git a/pkgs/development/python-modules/dotty-dict/default.nix b/pkgs/development/python-modules/dotty-dict/default.nix new file mode 100644 index 000000000000..22d469b96693 --- /dev/null +++ b/pkgs/development/python-modules/dotty-dict/default.nix @@ -0,0 +1,26 @@ +{ lib +, fetchPypi +, buildPythonPackage +, setuptools_scm +}: + +buildPythonPackage rec { + pname = "dotty_dict"; + version = "1.3.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-6wA1o2KezYQ5emjx9C8elKvRw0V3oZzT6srTMe58uvA="; + }; + + nativeBuildInputs = [ setuptools_scm ]; + + doCheck = false; + + meta = with lib; { + description = "Dictionary wrapper for quick access to deeply nested keys"; + homepage = "https://dotty-dict.readthedocs.io"; + license = licenses.mit; + maintainers = with maintainers; [ AndersonTorres ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 073e92cc884a..3e944ea20aed 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1917,6 +1917,8 @@ in { dopy = callPackage ../development/python-modules/dopy { }; + dotty-dict = callPackage ../development/python-modules/dotty-dict { }; + dot2tex = callPackage ../development/python-modules/dot2tex { inherit (pkgs) graphviz; }; dparse = callPackage ../development/python-modules/dparse { };