summary refs log tree commit diff
path: root/pkgs/development/python-modules/omegaconf/default.nix
blob: 42249e93378997f7cd8357d880b9126c4c6ee019 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, pytest, pytest-runner, 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 = [ pytest-runner ];
  propagatedBuildInputs = [ pyyaml six ] ++ lib.optional isPy27 pathlib2;

  meta = with 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 ];
  };
}