python3Packages.simber: disable on older Python releases
This commit is contained in:
parent
580936b136
commit
bc3db17488
@ -1,20 +1,36 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, colorama, pytestCheckHook }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, colorama
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "simber";
|
pname = "simber";
|
||||||
version = "0.2.4";
|
version = "0.2.4";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "deepjyoti30";
|
owner = "deepjyoti30";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-P4bhxu9Di4E2Zkd0vIkyDi1S6Y0V/EQSMF4ftWoiXKE=";
|
hash = "sha256-P4bhxu9Di4E2Zkd0vIkyDi1S6Y0V/EQSMF4ftWoiXKE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ colorama ];
|
propagatedBuildInputs = [
|
||||||
|
colorama
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [
|
||||||
pythonImportsCheck = [ "simber" ];
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"simber"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple, minimal and powerful logger for Python";
|
description = "Simple, minimal and powerful logger for Python";
|
||||||
|
Loading…
Reference in New Issue
Block a user