Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / skodaconnect / default.nix
blob989b5711a810b625a647673b795c95e4e354aa20
1 { lib
2 , aiohttp
3 , beautifulsoup4
4 , buildPythonPackage
5 , cryptography
6 , fetchFromGitHub
7 , flit-core
8 , lxml
9 , pyjwt
10 , pythonOlder
13 buildPythonPackage rec {
14   pname = "skodaconnect";
15   version = "1.3.10";
16   pyproject = true;
18   disabled = pythonOlder "3.11";
20   src = fetchFromGitHub {
21     owner = "lendy007";
22     repo = "skodaconnect";
23     rev = "refs/tags/${version}";
24     hash = "sha256-H45rL9GFuTnP5VP0cRyqlmWJmX1Zvh7A7JcSKgcZCwA=";
25   };
27   nativeBuildInputs = [
28     flit-core
29   ];
31   propagatedBuildInputs = [
32     aiohttp
33     beautifulsoup4
34     cryptography
35     lxml
36     pyjwt
37   ];
39   # Project has no tests
40   doCheck = false;
42   pythonImportsCheck = [
43     "skodaconnect"
44   ];
46   meta = with lib; {
47     description = "Python module to communicate with Skoda Connect";
48     homepage = "https://github.com/lendy007/skodaconnect";
49     changelog = "https://github.com/lendy007/skodaconnect/releases/tag/${version}";
50     license = with licenses; [ asl20 ];
51     maintainers = with maintainers; [ fab ];
52   };