10 buildPythonPackage rec {
11 pname = "discovery30303";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 # Commit points to 0.2.1, https://github.com/bdraco/discovery30303/issues/1
21 rev = "0d0b0fdca1a98662dd2e6174d25853703bd6bf07";
22 hash = "sha256-WSVMhiJxASxAkxs6RGuAVvEFS8TPxDKE9M99Rp8HKGM=";
39 substituteInPlace pyproject.toml \
40 --replace " --cov=discovery30303" ""
43 pythonImportsCheck = [
48 description = "Module to discover devices that respond on port 30303";
49 homepage = "https://github.com/bdraco/discovery30303";
50 license = with licenses; [ asl20 ];
51 maintainers = with maintainers; [ fab ];