Merge pull request #115113 from fabaff/mullvad-api

python3Packages.mullvad-api: init at 1.0.0
This commit is contained in:
Sandro 2021-03-05 02:01:09 +01:00 committed by GitHub
commit ed29de54ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "mullvad-api";
version = "1.0.0";
src = fetchPypi {
pname = "mullvad_api";
inherit version;
sha256 = "0r0hc2d6vky52hxdqxn37w0y42ddh1zal6zz2cvqlxamc53wbiv1";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "mullvad_api" ];
meta = with lib; {
description = "Python client for the Mullvad API";
homepage = "https://github.com/meichthys/mullvad-api";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -4259,6 +4259,8 @@ in {
mt-940 = callPackage ../development/python-modules/mt-940 { };
mullvad-api = callPackage ../development/python-modules/mullvad-api { };
mulpyplexer = callPackage ../development/python-modules/mulpyplexer { };
multidict = callPackage ../development/python-modules/multidict { };