anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / skodaconnect / default.nix
blob0ffb5bbf42226317cbccefc6dca7f9c03e90ca39
2   lib,
3   aiohttp,
4   beautifulsoup4,
5   buildPythonPackage,
6   cryptography,
7   fetchFromGitHub,
8   flit-core,
9   lxml,
10   pyjwt,
11   pythonOlder,
14 buildPythonPackage rec {
15   pname = "skodaconnect";
16   version = "1.3.11";
17   pyproject = true;
19   disabled = pythonOlder "3.11";
21   src = fetchFromGitHub {
22     owner = "lendy007";
23     repo = "skodaconnect";
24     rev = "refs/tags/${version}";
25     hash = "sha256-Cy2sXj8+t8lIqrKmI9Aa7tNEIvRArynU/02ajJ+tYHg=";
26   };
28   nativeBuildInputs = [ flit-core ];
30   propagatedBuildInputs = [
31     aiohttp
32     beautifulsoup4
33     cryptography
34     lxml
35     pyjwt
36   ];
38   # Project has no tests
39   doCheck = false;
41   pythonImportsCheck = [ "skodaconnect" ];
43   meta = with lib; {
44     description = "Python module to communicate with Skoda Connect";
45     homepage = "https://github.com/lendy007/skodaconnect";
46     changelog = "https://github.com/lendy007/skodaconnect/releases/tag/${version}";
47     license = with licenses; [ asl20 ];
48     maintainers = with maintainers; [ fab ];
49   };