Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyric / default.nix
blob8ee447f0f0c22d271415dfb179830652ce9e97cf
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 }:
7 buildPythonPackage rec {
8   pname = "pyric";
9   version = "0.1.6.3";
10   format = "setuptools";
12   disabled = pythonOlder "3.7";
14   src = fetchPypi {
15     pname = "PyRIC";
16     inherit version;
17     hash = "sha256-tTmwHK/r0kBsAAl/lFJeoPjs0d2S93MfQ+rA7xbCzMk=";
18   };
20   postPatch = ''
21     substituteInPlace setup.py \
22       --replace "__version__ = '0.0.3'" "__version__ = '${version}'"
23   '';
25   # Tests are outdated
26   doCheck = false;
28   pythonImportsCheck = [
29     "pyric"
30   ];
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   };