Merge pull request #115113 from fabaff/mullvad-api
python3Packages.mullvad-api: init at 1.0.0
This commit is contained in:
commit
ed29de54ff
29
pkgs/development/python-modules/mullvad-api/default.nix
Normal file
29
pkgs/development/python-modules/mullvad-api/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user