mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 21:55:53 +02:00
python3Packages.oslo-log: disable on older Python releases
This commit is contained in:
parent
7c15e52492
commit
10ee8df24b
|
@ -11,16 +11,20 @@
|
|||
, pyinotify
|
||||
, python-dateutil
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oslo-log";
|
||||
version = "4.7.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "oslo.log";
|
||||
inherit version;
|
||||
sha256 = "sha256-ycLEyW098LLuuTG0djvbCpBbqvKbiVgW2Vd41p+hJwc=";
|
||||
hash = "sha256-ycLEyW098LLuuTG0djvbCpBbqvKbiVgW2Vd41p+hJwc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -44,7 +48,9 @@ buildPythonPackage rec {
|
|||
"test_logging_handle_error"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "oslo_log" ];
|
||||
pythonImportsCheck = [
|
||||
"oslo_log"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "oslo.log library";
|
||||
|
|
Loading…
Reference in a new issue