Files
nixpkgs/pkgs/development/python-modules/mullvad-api/default.nix

32 lines
638 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
}:
buildPythonPackage rec {
pname = "mullvad-api";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
pname = "mullvad_api";
inherit version;
hash = "sha256-YcfFR2FVdYo3E/8bqn6ArQniAT/Ddtw6FMXPbZpgEGQ=";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "mullvad_api" ];
meta = {
description = "Python client for the Mullvad API";
homepage = "https://github.com/meichthys/mullvad-api";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}