My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/mullvad-api/default.nix

29 lines
612 B

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