Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
967 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, setuptools, requests, pytestCheckHook, requests-mock,}:
buildPythonPackage rec { pname = "nsw-fuel-api-client"; version = "1.1.3"; pyproject = true;
src = fetchFromGitHub { owner = "nickw444"; repo = "nsw-fuel-api-client"; tag = version; hash = "sha256-3nkBDLmFOfYLvG5fi2subA9zxb51c7zWlhT4GaCQo9I="; };
build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [ pytestCheckHook requests-mock ];
pythonImportsCheck = [ "nsw_fuel" ];
pytestFlags = [ "nsw_fuel_tests/unit.py" ];
meta = { description = "API Client for NSW Government Fuel Check application"; homepage = "https://github.com/nickw444/nsw-fuel-api-client"; changelog = "https://github.com/nickw444/nsw-fuel-api-client/releases/tag/${version}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; };}