Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 63 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, buildPythonPackage, click, defusedxml, dicttoxml, fetchFromGitHub, httpx, pycryptodome, pytest-asyncio, pytest-raises, pytestCheckHook, pythonOlder, respx, typing-extensions}:
buildPythonPackage rec { pname = "ismartgate"; version = "5.0.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "bdraco"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-o2yzMxrF0WB6MbeL1Tuf0Sq4wS4FDIWZZx1x2rvwLmY="; };
postPatch = '' substituteInPlace setup.py \ --replace '"pytest-runner>=5.2",' "" '';
propagatedBuildInputs = [ click defusedxml dicttoxml httpx pycryptodome typing-extensions ];
nativeCheckInputs = [ pytest-asyncio pytest-raises pytestCheckHook respx ];
pythonImportsCheck = [ "ismartgate" ];
meta = with lib; { description = "Python module to work with the ismartgate and gogogate2 API"; homepage = "https://github.com/bdraco/ismartgate"; changelog = "https://github.com/bdraco/ismartgate/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}