depot/third_party/nixpkgs/pkgs/development/python-modules/subarulink/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

44 lines
877 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, asynctest
, stdiomask
, cryptography
, pytestcov
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "subarulink";
version = "0.3.11";
src = fetchFromGitHub {
owner = "G-Two";
repo = pname;
rev = "subaru-v${version}";
sha256 = "1ink9bhph6blidnfsqwq01grhp7ghacmkd4vzgb9hnhl9l52s1jq";
};
propagatedBuildInputs = [ aiohttp stdiomask ];
checkInputs = [
asynctest
cryptography
pytest-asyncio
pytestcov
pytestCheckHook
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "subarulink" ];
meta = with lib; {
description = "Python module for interacting with STARLINK-enabled vehicle";
homepage = "https://github.com/G-Two/subarulink";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}