Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, requests-mock, pythonOlder, pytest-asyncio, pytestCheckHook, python-dateutil, requests,}:
buildPythonPackage rec { pname = "flipr-api"; version = "1.6.1"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "cnico"; repo = "flipr-api"; tag = version; hash = "sha256-/px8NuBwukAPMxdXvHdyfO/j/a9UatKbdrjDNuT0f4k="; };
build-system = [ poetry-core ];
dependencies = [ python-dateutil requests ];
nativeCheckInputs = [ requests-mock pytest-asyncio pytestCheckHook ];
env = { # used in test_session FLIPR_USERNAME = "foobar"; FLIPR_PASSWORD = "secret"; };
pythonImportsCheck = [ "flipr_api" ];
meta = with lib; { description = "Python client for Flipr API"; mainProgram = "flipr-api"; homepage = "https://github.com/cnico/flipr-api"; changelog = "https://github.com/cnico/flipr-api/releases/tag/${version}"; license = licenses.gpl3Plus; maintainers = with maintainers; [ fab ]; };}