1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage {
9 pname = "pypresence";
10 version = "4.3.0-unstable-2025-03-27";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "qwertyquerty";
15 repo = "pypresence";
16 rev = "4e882c36d0f800c016c15977243ac9a49177095a";
17 hash = "sha256-DjwDmQMbI9tV40TTe1CthhphoysKSFICrRhqijJjIAE=";
18 };
19
20 build-system = [ setuptools ];
21
22 doCheck = false; # tests require internet connection
23 pythonImportsCheck = [ "pypresence" ];
24
25 meta = {
26 homepage = "https://qwertyquerty.github.io/pypresence/html/index.html";
27 description = "Discord RPC client written in Python";
28 license = lib.licenses.mit;
29 maintainers = [ ];
30 };
31}