evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pyric / default.nix
blobe8a29ae7258c81a20c233bfb9ff155f5d0da1403
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6 }:
8 buildPythonPackage rec {
9   pname = "pyric";
10   version = "0.1.6.3";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     pname = "PyRIC";
17     inherit version;
18     hash = "sha256-tTmwHK/r0kBsAAl/lFJeoPjs0d2S93MfQ+rA7xbCzMk=";
19   };
21   postPatch = ''
22     substituteInPlace setup.py \
23       --replace "__version__ = '0.0.3'" "__version__ = '${version}'"
24   '';
26   # Tests are outdated
27   doCheck = false;
29   pythonImportsCheck = [ "pyric" ];
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   };