3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/mullvad-api/default.nix
2021-03-04 19:06:20 +01:00

30 lines
612 B
Nix

{ 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 ];
};
}