about summary refs log tree commit diff
path: root/pkgs/development/python-modules/omegaconf
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2020-01-09 21:47:40 -0500
committerJon <jonringer@users.noreply.github.com>2020-01-09 22:54:16 -0800
commit60c03fb3801d6e0adc5be764dac10d70181b0d88 (patch)
tree704082bbbde8175604f23d1023a404d56be83aff /pkgs/development/python-modules/omegaconf
parent55adc491f09f191b60dffaf73efd29c0a095769e (diff)
pythonPackages.omegaconf: init at 1.4.1
Diffstat (limited to 'pkgs/development/python-modules/omegaconf')
-rw-r--r--pkgs/development/python-modules/omegaconf/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/omegaconf/default.nix b/pkgs/development/python-modules/omegaconf/default.nix
new file mode 100644
index 0000000000000..4219aad3865f1
--- /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 ];
+  };
+}