From 193079bef506a285458cb7b6324e5d06c1b63923 Mon Sep 17 00:00:00 2001 From: Niko Cantero <97130632+nyabinary@users.noreply.github.com> Date: Wed, 7 May 2025 22:34:15 -0400 Subject: [PATCH] pypresence: 4.3.0 -> 4.3.0-unstable-2025-03-27 --- .../python-modules/pypresence/default.nix | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pypresence/default.nix b/pkgs/development/python-modules/pypresence/default.nix index b01f7573511f..799ba2e0be03 100644 --- a/pkgs/development/python-modules/pypresence/default.nix +++ b/pkgs/development/python-modules/pypresence/default.nix @@ -1,26 +1,31 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage { pname = "pypresence"; - version = "4.3.0"; - format = "setuptools"; + version = "4.3.0-unstable-2025-03-27"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-phkaOvM6lmfypO8BhVd8hrli7nCqgmQ8Rydopv7R+/M="; + src = fetchFromGitHub { + owner = "qwertyquerty"; + repo = "pypresence"; + rev = "4e882c36d0f800c016c15977243ac9a49177095a"; + hash = "sha256-DjwDmQMbI9tV40TTe1CthhphoysKSFICrRhqijJjIAE="; }; + build-system = [ setuptools ]; + doCheck = false; # tests require internet connection pythonImportsCheck = [ "pypresence" ]; - meta = with lib; { + meta = { homepage = "https://qwertyquerty.github.io/pypresence/html/index.html"; description = "Discord RPC client written in Python"; - license = licenses.mit; + license = lib.licenses.mit; maintainers = [ ]; }; }