Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
960 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, setuptools, httpx, pyjwt, pythonOlder, websockets, yarl,}:
buildPythonPackage rec { pname = "elmax-api"; version = "0.0.6.4rc0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "albertogeniola"; repo = "elmax-api"; tag = "v${version}"; hash = "sha256-BYVfP8B+p4J4gW+64xh9bT9sDcu/lk0R+MvLsYLwRfQ="; };
build-system = [ setuptools ];
dependencies = [ httpx pyjwt websockets yarl ];
# Test require network access doCheck = false;
pythonImportsCheck = [ "elmax_api" ];
meta = with lib; { description = "Python library for interacting with the Elmax cloud"; homepage = "https://github.com/albertogeniola/elmax-api"; changelog = "https://github.com/albertogeniola/elmax-api/releases/tag/v${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };}