mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
30 lines
612 B
Nix
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 ];
|
|
};
|
|
}
|