Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "aiopegelonline"; version = "0.1.2"; pyproject = true;
src = fetchFromGitHub { owner = "mib1185"; repo = "aiopegelonline"; tag = "v${finalAttrs.version}"; hash = "sha256-uV4qVCj28wgraWmWhyqN98/SaVDJFuJ30ugViKrl2us="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools==82.0.1" "setuptools" '';
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "aiopegelonline" ];
meta = { description = "Library to retrieve data from PEGELONLINE"; homepage = "https://github.com/mib1185/aiopegelonline"; changelog = "https://github.com/mib1185/aiopegelonline/releases/tag/v${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };})