Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, aiohttp, aresponses, buildPythonPackage, fetchFromGitHub, packaging, poetry-core, pydantic, pytest-asyncio, pytest-mock, pytestCheckHook, pythonOlder, yarl}:
buildPythonPackage rec { pname = "python-bsblan"; version = "0.5.11"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "liudger"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-fTjeJZhKPFi0cxZStegVdq7a48rQ236DnnCGngwZ5GU="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiohttp packaging pydantic yarl ];
nativeCheckInputs = [ aresponses pytest-asyncio pytest-mock pytestCheckHook ];
postPatch = '' substituteInPlace pyproject.toml \ --replace 'version = "0.0.0"' 'version = "${version}"' \ --replace "--cov" "" '';
pythonImportsCheck = [ "bsblan" ];
meta = with lib; { description = "Module to control and monitor an BSBLan device programmatically"; homepage = "https://github.com/liudger/python-bsblan"; changelog = "https://github.com/liudger/python-bsblan/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}