Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 58 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, buildPythonPackage, environs, fetchFromGitHub, httpx, setuptools, pytest-cov-stub, pytest-mock, pytest-vcr, pytestCheckHook, pythonOlder, tornado,}:
buildPythonPackage rec { pname = "deezer-python"; version = "7.1.1"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "browniebroke"; repo = "deezer-python"; tag = "v${version}"; hash = "sha256-3TYgOa8NWGhkVIT5HkDdpHGyj7FzP8n02a36KHW6IC4="; };
build-system = [ setuptools ];
dependencies = [ httpx ];
nativeCheckInputs = [ environs pytest-cov-stub pytest-mock pytest-vcr pytestCheckHook tornado ];
pythonImportsCheck = [ "deezer" ];
disabledTests = [ # JSONDecodeError issue "test_get_user_flow" "test_with_language_header" ];
meta = with lib; { description = "Python wrapper around the Deezer API"; homepage = "https://github.com/browniebroke/deezer-python"; changelog = "https://github.com/browniebroke/deezer-python/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ synthetica ]; };}