From 7d5f852c54a61bcb52a0f48213c5c591e9b552c5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 8 Sep 2022 01:43:46 +0200 Subject: [PATCH] python3Packages.python-izone: 1.2.7 -> 1.2.9 --- .../python-modules/python-izone/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-izone/default.nix b/pkgs/development/python-modules/python-izone/default.nix index e3ce43109725..b4dac08811cb 100644 --- a/pkgs/development/python-modules/python-izone/default.nix +++ b/pkgs/development/python-modules/python-izone/default.nix @@ -7,11 +7,12 @@ , pytest-aio , pytest-asyncio , pytestCheckHook +, setuptools-scm }: buildPythonPackage rec { pname = "python-izone"; - version = "1.2.7"; + version = "1.2.9"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -19,10 +20,16 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Swamp-Ig"; repo = "pizone"; - rev = "v${version}"; - hash = "sha256-CvFOhs56dfNerK3junWElQfTJi1YXA86zMbv0tseQC8="; + rev = "refs/tags/v${version}"; + hash = "sha256-0rj+tKn2pbFe+nczTMGLwIwmc4jCznGGF4/IMjlEvQg="; }; + nativeBuildInputs = [ + setuptools-scm + ]; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + propagatedBuildInputs = [ aiohttp netifaces