evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / peaqevcore / default.nix
blob0d608a2e36337ddb352e94439eb29fcee079f66e
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "peaqevcore";
11   version = "19.11.2";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-DQdmZ51jAG+JZkZal17+NIaQ+0lrMS7tqMSZj47tNWw=";
19   };
21   postPatch = ''
22     sed -i "/extras_require/d" setup.py
23   '';
25   build-system = [ setuptools ];
27   # Tests are not shipped and source is not tagged
28   # https://github.com/elden1337/peaqev-core/issues/4
29   doCheck = false;
31   pythonImportsCheck = [ "peaqevcore" ];
33   meta = with lib; {
34     description = "Library for interacting with Peaqev car charging";
35     homepage = "https://github.com/elden1337/peaqev-core";
36     changelog = "https://github.com/elden1337/peaqev-core/releases/tag/${version}";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ fab ];
39   };