Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 58 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, aiohttp, aioresponses, pydantic, buildPythonPackage, fetchFromGitHub, poetry-core, pytest-aiohttp, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "aioopenexchangerates"; version = "0.4.2"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "MartinHjelmare"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-Ykbw/s932XXX3qWutWUOLV1O9MMgBWPJNveKG8SDhWY="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiohttp pydantic ];
nativeCheckInputs = [ aioresponses pytest-aiohttp pytestCheckHook ];
postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" "" '';
pythonImportsCheck = [ "aioopenexchangerates" ];
meta = with lib; { description = "Library for the Openexchangerates API"; homepage = "https://github.com/MartinHjelmare/aioopenexchangerates"; changelog = "https://github.com/MartinHjelmare/aioopenexchangerates/blob/vv${version}/CHANGELOG.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };}