From 2dd846bbabd90f0d75fd1b55d384c7db45ec2a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=BChrk?= Date: Fri, 14 Oct 2022 21:24:05 +0200 Subject: [PATCH 1/2] python310Packages.dinghy: 0.13.2 -> 0.13.4 --- pkgs/development/python-modules/dinghy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dinghy/default.nix b/pkgs/development/python-modules/dinghy/default.nix index 95140e82d0d2..592683a88419 100644 --- a/pkgs/development/python-modules/dinghy/default.nix +++ b/pkgs/development/python-modules/dinghy/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "dinghy"; - version = "0.13.2"; + version = "0.13.4"; format = "setuptools"; src = fetchFromGitHub { owner = "nedbat"; repo = pname; rev = version; - sha256 = "sha256-uRiWcrs3xIb6zxNg0d6/+NCqnEgadHSTLpS53CoZ5so="; + sha256 = "sha256-H3AFKKtSiFD3LqyWaIYB4LncPaH2/eptuKS4BN0cNBQ="; }; propagatedBuildInputs = [ From f15fb53786a87a7cadaa43d8419ba05151c1abe2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 15 Oct 2022 09:43:44 +0200 Subject: [PATCH 2/2] python310Packages.dinghy: disable on older Python releases --- pkgs/development/python-modules/dinghy/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/dinghy/default.nix b/pkgs/development/python-modules/dinghy/default.nix index 592683a88419..1949fb6714f8 100644 --- a/pkgs/development/python-modules/dinghy/default.nix +++ b/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";