Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, aiohttp, osrparse, requests, requests-oauthlib, setuptools, typing-utils,}:
buildPythonPackage rec { pname = "ossapi"; version = "5.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "tybug"; repo = "ossapi"; tag = "v${version}"; hash = "sha256-5a2kSdOHF0BM/ZjhtPc9O/BiZXeLuZFlXwVOJHnKYLI="; };
build-system = [ setuptools ];
pythonRelaxDeps = [ "osrparse" ];
dependencies = [ osrparse requests requests-oauthlib typing-utils ];
optional-dependencies = { async = [ aiohttp ]; };
# Tests require Internet access and an osu! API key doCheck = false;
pythonImportsCheck = [ "ossapi" ];
meta = { description = "Python wrapper for the osu! API"; homepage = "https://github.com/tybug/ossapi"; changelog = "https://github.com/tybug/ossapi/releases/tag/${src.tag}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ wulpine ]; };}