diff --git a/pkgs/development/python-modules/omegaconf/default.nix b/pkgs/development/python-modules/omegaconf/default.nix new file mode 100644 index 000000000000..4219aad3865f --- /dev/null +++ b/pkgs/development/python-modules/omegaconf/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder +, pytest, pytestrunner, pyyaml, six, pathlib2, isPy27 }: + +buildPythonPackage rec { + pname = "omegaconf"; + version = "1.4.1"; + + src = fetchFromGitHub { + owner = "omry"; + repo = pname; + rev = version; + sha256 = "1vpcdjlq54pm8xmkv2hqm2n1ysvz2a9iqgf55x0w6slrb4595cwb"; + }; + + checkInputs = [ pytest ]; + buildInputs = [ pytestrunner ]; + propagatedBuildInputs = [ pyyaml six ] ++ stdenv.lib.optional isPy27 pathlib2; + + meta = with stdenv.lib; { + description = "A framework for configuring complex applications"; + homepage = "https://github.com/omry/omegaconf"; + license = licenses.free; # prior bsd license (1988) + maintainers = with maintainers; [ bcdarwin ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 78e598e8b36d..c2c5f20cde16 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4402,6 +4402,8 @@ in { od = callPackage ../development/python-modules/od { }; + omegaconf = callPackage ../development/python-modules/omegaconf { }; + orderedset = callPackage ../development/python-modules/orderedset { }; python-multipart = callPackage ../development/python-modules/python-multipart { };