evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / aiovlc / default.nix
blob126661bc1e176844b0ac857c45b1be8fcf75a401
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pytest-asyncio,
7   pytest-cov-stub,
8   pytest-timeout,
9   pytestCheckHook,
10   pythonOlder,
11   typer,
14 buildPythonPackage rec {
15   pname = "aiovlc";
16   version = "0.6.1";
17   pyproject = true;
19   disabled = pythonOlder "3.11";
21   src = fetchFromGitHub {
22     owner = "MartinHjelmare";
23     repo = "aiovlc";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-NnctcSgEHWEJUB0yDrSYMochh20CfT5jgtcALKmDjdo=";
26   };
28   build-system = [ poetry-core ];
30   optional-dependencies = {
31     cli = [ typer ];
32   };
34   nativeCheckInputs = [
35     pytest-asyncio
36     pytest-cov-stub
37     pytest-timeout
38     pytestCheckHook
39   ] ++ lib.flatten (builtins.attrValues optional-dependencies);
41   pythonImportsCheck = [ "aiovlc" ];
43   meta = with lib; {
44     description = "Python module to control VLC";
45     homepage = "https://github.com/MartinHjelmare/aiovlc";
46     changelog = "https://github.com/MartinHjelmare/aiovlc/blob/v${version}/CHANGELOG.md";
47     license = licenses.asl20;
48     maintainers = with maintainers; [ fab ];
49   };