depot/third_party/nixpkgs/pkgs/development/python-modules/skodaconnect/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

53 lines
1,007 B
Nix

{ lib
, aiohttp
, beautifulsoup4
, buildPythonPackage
, cryptography
, fetchFromGitHub
, flit-core
, lxml
, pyjwt
, pythonOlder
}:
buildPythonPackage rec {
pname = "skodaconnect";
version = "1.3.9";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "lendy007";
repo = "skodaconnect";
rev = "refs/tags/${version}";
hash = "sha256-7QDelJzyRnYNqVP9IuREpCm5s+qJ8cxSEn1YcqnYepA=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
aiohttp
beautifulsoup4
cryptography
lxml
pyjwt
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"skodaconnect"
];
meta = with lib; {
description = "Python module to communicate with Skoda Connect";
homepage = "https://github.com/lendy007/skodaconnect";
changelog = "https://github.com/lendy007/skodaconnect/releases/tag/${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}