Merge pull request #108724 from fabaff/subarulink

This commit is contained in:
Sandro 2021-01-11 19:02:30 +01:00 committed by GitHub
commit d90f50ed40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "stdiomask";
version = "0.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "19m3p6i7fj7nmkbsjhiha3f2l7d05j9gf9ha2pd0pqfrx9lp1r61";
};
# tests are not published: https://github.com/asweigart/stdiomask/issues/5
doCheck = false;
pythonImportsCheck = [ "stdiomask" ];
meta = with lib; {
description = "Python module for masking passwords";
homepage = "https://github.com/asweigart/stdiomask";
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,44 @@
{ 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 ];
};
}

View File

@ -7259,6 +7259,8 @@ in {
statsmodels = callPackage ../development/python-modules/statsmodels { };
stdiomask = callPackage ../development/python-modules/stdiomask { };
stem = callPackage ../development/python-modules/stem { };
stevedore = callPackage ../development/python-modules/stevedore { };
@ -7297,6 +7299,8 @@ in {
stytra = callPackage ../development/python-modules/stytra { };
subarulink = callPackage ../development/python-modules/subarulink { };
subdownloader = callPackage ../development/python-modules/subdownloader { };
subliminal = callPackage ../development/python-modules/subliminal { };