python310Packages.dinghy: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent 2dd846bbab
commit f15fb53786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      pkgs/development/python-modules/dinghy/default.nix

@ -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";

Loading…
Cancel
Save