at 23.05-pre 759 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "pyric"; 9 version = "0.1.6.3"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 pname = "PyRIC"; 16 inherit version; 17 hash = "sha256-tTmwHK/r0kBsAAl/lFJeoPjs0d2S93MfQ+rA7xbCzMk="; 18 }; 19 20 postPatch = '' 21 substituteInPlace setup.py \ 22 --replace "__version__ = '0.0.3'" "__version__ = '${version}'" 23 ''; 24 25 # Tests are outdated 26 doCheck = false; 27 28 pythonImportsCheck = [ 29 "pyric" 30 ]; 31 32 meta = with lib; { 33 description = "Python Radio Interface Controller"; 34 homepage = "https://github.com/wraith-wireless/PyRIC"; 35 license = with licenses; [ gpl3Plus ]; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}