From 2706675bcf0734e5733c94f55ed52ed83f5d1639 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 27 Feb 2023 02:14:09 +0100 Subject: python3Packages.bidict: 0.22.0 -> 0.22.1 https://github.com/jab/bidict/blob/v0.22.1/CHANGELOG.rst --- pkgs/development/python-modules/bidict/default.nix | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'pkgs/development/python-modules/bidict/default.nix') diff --git a/pkgs/development/python-modules/bidict/default.nix b/pkgs/development/python-modules/bidict/default.nix index 45ba90794d4f1..2ecbd1124685b 100644 --- a/pkgs/development/python-modules/bidict/default.nix +++ b/pkgs/development/python-modules/bidict/default.nix @@ -1,9 +1,11 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub +, setuptools , sphinx , hypothesis , py +, pytest-xdist , pytestCheckHook , pytest-benchmark , sortedcollections @@ -13,15 +15,22 @@ buildPythonPackage rec { pname = "bidict"; - version = "0.22.0"; + version = "0.22.1"; + format = "pyproject"; disabled = pythonOlder "3.7"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-XIJrPhXpfMbmFd4pV1aEfCgqebecVDDTv8kJsayfW9g="; + src = fetchFromGitHub { + owner = "jab"; + repo = "bidict"; + rev = "refs/tags/v${version}"; + hash = "sha256-mPBruasjQwErl5M91OBf71hArztdRVONOCnqos180DY="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ sphinx ]; @@ -29,6 +38,7 @@ buildPythonPackage rec { nativeCheckInputs = [ hypothesis py + pytest-xdist pytestCheckHook pytest-benchmark sortedcollections @@ -39,6 +49,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/jab/bidict"; + changelog = "https://github.com/jab/bidict/blob/v${version}/CHANGELOG.rst"; description = "Efficient, Pythonic bidirectional map data structures and related functionality"; license = licenses.mpl20; maintainers = with maintainers; [ jakewaksbaum ]; -- cgit 1.4.1