Files
nixpkgs/pkgs/development/python-modules/peaqevcore/default.nix
T
2023-12-04 15:07:19 +00:00

39 lines
868 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "peaqevcore";
version = "19.5.21";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-MR+dPGap7IgdWV+bKLUU3E3lzoG+RaaspjqedMQMk5Y=";
};
postPatch = ''
sed -i "/extras_require/d" setup.py
'';
# Tests are not shipped and source is not tagged
# https://github.com/elden1337/peaqev-core/issues/4
doCheck = false;
pythonImportsCheck = [
"peaqevcore"
];
meta = with lib; {
description = "Library for interacting with Peaqev car charging";
homepage = "https://github.com/elden1337/peaqev-core";
changelog = "https://github.com/elden1337/peaqev-core/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}