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 = [ ]; }; }