Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
982 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "discovery30303"; version = "0.3.3"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "bdraco"; repo = "discovery30303"; tag = "v${version}"; hash = "sha256-QIGLRe+nUV3tUOs+pu6Qk/2Amh9IVcQq89o2JeKiTvM="; };
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytestCheckHook ];
pytestFlags = [ "--asyncio-mode=auto" ];
pythonImportsCheck = [ "discovery30303" ];
meta = with lib; { description = "Module to discover devices that respond on port 30303"; homepage = "https://github.com/bdraco/discovery30303"; changelog = "https://github.com/bdraco/discovery30303/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}