python3Packages.mullvad-api: init at 1.0.0

This commit is contained in:
Fabian Affolter 2021-03-04 19:06:20 +01:00
parent d485a4db25
commit 5232b4e8f7
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

@ -4247,6 +4247,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 { };