python310Packages.dinghy: disable on older Python releases
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, aiofiles
|
||||
, aiohttp
|
||||
, click-log
|
||||
@@ -16,11 +17,13 @@ buildPythonPackage rec {
|
||||
version = "0.13.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nedbat";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-H3AFKKtSiFD3LqyWaIYB4LncPaH2/eptuKS4BN0cNBQ=";
|
||||
hash = "sha256-H3AFKKtSiFD3LqyWaIYB4LncPaH2/eptuKS4BN0cNBQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -33,9 +36,13 @@ buildPythonPackage rec {
|
||||
pyyaml
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dinghy.cli" ];
|
||||
pythonImportsCheck = [
|
||||
"dinghy.cli"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A GitHub activity digest tool";
|
||||
|
||||
Reference in New Issue
Block a user