python3Packages.mullvad-api: init at 1.0.0
This commit is contained in:
parent
d485a4db25
commit
5232b4e8f7
2 changed files with 31 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue