Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
933 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, bleak, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, requests, setuptools,}:
buildPythonPackage rec { pname = "aranet4"; version = "2.5.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "Anrijs"; repo = "Aranet4-Python"; tag = "v${version}"; hash = "sha256-/FBrP4aceIX9dcZmm+k13PSAPuK4SQenjWqOAFPSvL8="; };
build-system = [ setuptools ];
dependencies = [ bleak requests ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aranet4" ];
disabledTests = [ # Test compares rendered output "test_current_values" ];
meta = with lib; { description = "Module to interact with Aranet4 devices"; homepage = "https://github.com/Anrijs/Aranet4-Python"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; mainProgram = "aranetctl"; };}