biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / seatconnect / default.nix
bloba1a8bc36b311fde27e327a67b45642690c16acd1
2   lib,
3   aiohttp,
4   beautifulsoup4,
5   buildPythonPackage,
6   cryptography,
7   fetchFromGitHub,
8   lxml,
9   pyjwt,
10   pythonOlder,
11   setuptools-scm,
12   xmltodict,
15 buildPythonPackage rec {
16   pname = "seatconnect";
17   version = "1.1.9";
18   format = "setuptools";
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "farfar";
24     repo = pname;
25     rev = "refs/tags/${version}";
26     hash = "sha256-HITVrI0o94a61gy/TYSGFtLBYX4Rw/dK1o2/KsvHLTQ=";
27   };
29   nativeBuildInputs = [ setuptools-scm ];
31   propagatedBuildInputs = [
32     aiohttp
33     beautifulsoup4
34     cryptography
35     lxml
36     pyjwt
37     xmltodict
38   ];
40   # Project only has a dummy test
41   doCheck = false;
43   pythonImportsCheck = [ "seatconnect" ];
45   meta = with lib; {
46     description = "Python module to communicate with Seat Connect";
47     homepage = "https://github.com/farfar/seatconnect";
48     changelog = "https://github.com/Farfar/seatconnect/releases/tag/${version}";
49     license = with licenses; [ asl20 ];
50     maintainers = with maintainers; [ fab ];
51   };