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