2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
2020-01-10 02:47:40 +00:00
|
|
|
, 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 ];
|
2021-01-24 00:29:22 +00:00
|
|
|
propagatedBuildInputs = [ pyyaml six ] ++ lib.optional isPy27 pathlib2;
|
2020-01-10 02:47:40 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-01-10 02:47:40 +00:00
|
|
|
description = "A framework for configuring complex applications";
|
|
|
|
homepage = "https://github.com/omry/omegaconf";
|
|
|
|
license = licenses.free; # prior bsd license (1988)
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|