summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pypresence/default.nix
blob: 799ba2e0be03b16af0ae13f2a021bb61911bf164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage {
  pname = "pypresence";
  version = "4.3.0-unstable-2025-03-27";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "qwertyquerty";
    repo = "pypresence";
    rev = "4e882c36d0f800c016c15977243ac9a49177095a";
    hash = "sha256-DjwDmQMbI9tV40TTe1CthhphoysKSFICrRhqijJjIAE=";
  };

  build-system = [ setuptools ];

  doCheck = false; # tests require internet connection
  pythonImportsCheck = [ "pypresence" ];

  meta = {
    homepage = "https://qwertyquerty.github.io/pypresence/html/index.html";
    description = "Discord RPC client written in Python";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}