python3Packages.omegaconf: 1.4.1 -> 2.1.0
This commit is contained in:
parent
0f783d556f
commit
d97fcbee7b
@ -1,20 +1,24 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
{ lib, buildPythonPackage, fetchFromGitHub, pytest-runner, pytest-mock
|
||||||
, pytest, pytest-runner, pyyaml, six, pathlib2, isPy27 }:
|
, pytestCheckHook, pyyaml, isPy27, jre_minimal, antlr4-python3-runtime }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "omegaconf";
|
pname = "omegaconf";
|
||||||
version = "1.4.1";
|
version = "2.1.0";
|
||||||
|
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "omry";
|
owner = "omry";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "1vpcdjlq54pm8xmkv2hqm2n1ysvz2a9iqgf55x0w6slrb4595cwb";
|
sha256 = "sha256-0aDlqPXELxQ/lnw4Hd9es8ldYhUP/TacH9AIyaffwnI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytestCheckHook pytest-mock ];
|
||||||
buildInputs = [ pytest-runner ];
|
nativeBuildInputs = [ jre_minimal pytest-runner ];
|
||||||
propagatedBuildInputs = [ pyyaml six ] ++ lib.optional isPy27 pathlib2;
|
propagatedBuildInputs = [ antlr4-python3-runtime pyyaml ];
|
||||||
|
|
||||||
|
disabledTestPaths = [ "tests/test_pydev_resolver_plugin.py" ]; # needs pydevd - not in Nixpkgs
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A framework for configuring complex applications";
|
description = "A framework for configuring complex applications";
|
||||||
|
Loading…
Reference in New Issue
Block a user