linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / omegaconf / default.nix
blobad9da46243b0bdfe8b36193100a82f7447a64cfc
1 { lib, buildPythonPackage, fetchFromGitHub, pythonOlder
2 , pytest, pytestrunner, pyyaml, six, pathlib2, isPy27 }:
4 buildPythonPackage rec {
5   pname = "omegaconf";
6   version = "1.4.1";
8   src = fetchFromGitHub {
9     owner = "omry";
10     repo = pname;
11     rev = version;
12     sha256 = "1vpcdjlq54pm8xmkv2hqm2n1ysvz2a9iqgf55x0w6slrb4595cwb";
13   };
15   checkInputs = [ pytest ];
16   buildInputs = [ pytestrunner ];
17   propagatedBuildInputs = [ pyyaml six ] ++ lib.optional isPy27 pathlib2;
19   meta = with lib; {
20     description = "A framework for configuring complex applications";
21     homepage = "https://github.com/omry/omegaconf";
22     license = licenses.free;  # prior bsd license (1988)
23     maintainers = with maintainers; [ bcdarwin ];
24   };