Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 63 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, mashumaro, orjson, poetry-core, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, syrupy, yarl,}:
buildPythonPackage rec { pname = "aiotankerkoenig"; version = "0.5.0"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "jpbede"; repo = "aiotankerkoenig"; tag = "v${version}"; hash = "sha256-5rxK6K10kUWEq3RMN8ojQhoy+w7NNbh/9+v8Jl7w4Ak="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'version = "0.0.0"' 'version = "${version}"' '';
build-system = [ poetry-core ];
dependencies = [ aiohttp mashumaro orjson yarl ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytest-cov-stub pytestCheckHook syrupy ];
pythonImportsCheck = [ "aiotankerkoenig" ];
meta = with lib; { description = "Python module for interacting with tankerkoenig.de"; homepage = "https://github.com/jpbede/aiotankerkoenig"; changelog = "https://github.com/jpbede/aiotankerkoenig/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}