From cb619a09e024e7d16523422091d7027826f9678b Mon Sep 17 00:00:00 2001 From: ckie Date: Sat, 18 Mar 2023 19:27:34 +0200 Subject: [PATCH] pythonPackages.pyrr: 0.10.3 -> unstable-2022-07-22 It stopped building on python39Packages.pyrr, which is needed for pkgs.friture to work, due to some other old dependencies. There are no new releases on PyPI. Tested build of friture, python39Packages.pyrr and python3Packages.pyrr on x86_64-linux: all three previously failed builds work. --- pkgs/development/python-modules/pyrr/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pyrr/default.nix b/pkgs/development/python-modules/pyrr/default.nix index cb1da5238681..4f7eb6623195 100644 --- a/pkgs/development/python-modules/pyrr/default.nix +++ b/pkgs/development/python-modules/pyrr/default.nix @@ -1,21 +1,22 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub , setuptools , multipledispatch , numpy }: buildPythonPackage rec { - version = "0.10.3"; pname = "pyrr"; + version = "unstable-2022-07-22"; - src = fetchPypi { - inherit pname version; - sha256 = "3c0f7b20326e71f706a610d58f2190fff73af01eef60c19cb188b186f0ec7e1d"; + src = fetchFromGitHub { + owner = "adamlwgriffiths"; + repo = "Pyrr"; + rev = "f6c8698c48a75f3fb7ad0d47d0ce80a04f87ba2f"; + hash = "sha256-u9O52MQskZRzw0rBH6uPdXdikWLJe7wyBZGNKIFA4BA="; }; - buildInputs = [ setuptools ]; propagatedBuildInputs = [ multipledispatch numpy ]; meta = with lib; {