Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "pypresence"; 5 version = "4.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "691daf98c8189fd216d988ebfc67779e0f664211512d9843f37ab0d51d4de066"; 10 }; 11 12 doCheck = false; # tests require internet connection 13 pythonImportsCheck = [ "pypresence" ]; 14 15 meta = with lib; { 16 homepage = "https://qwertyquerty.github.io/pypresence/html/index.html"; 17 description = "Discord RPC client written in Python"; 18 license = licenses.mit; 19 maintainers = with maintainers; [ xfix ]; 20 }; 21}