Something went wrong. Try again.
lol
Something went wrong. Try again.
935 B · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, requests, pyjwt, mock, python-dateutil, pytestCheckHook,}:
buildPythonPackage rec { pname = "messagebird"; version = "2.2.0"; format = "setuptools";
src = fetchFromGitHub { owner = "messagebird"; repo = "python-rest-api"; rev = version; hash = "sha256-OiLhnmZ725VbyoOHvSf4nKQRA7JsxqcOv0VKBL6rUtU="; };
propagatedBuildInputs = [ pyjwt python-dateutil requests ];
nativeCheckInputs = [ mock pytestCheckHook ];
pythonImportsCheck = [ "messagebird" ];
disabledTestPaths = [ # ValueError: not enough values to unpack (expected 6, got 0) "tests/test_request_validator.py" ];
meta = { description = "Client for MessageBird's REST API"; homepage = "https://github.com/messagebird/python-rest-api"; license = with lib.licenses; [ bsd2 ]; maintainers = with lib.maintainers; [ fab ]; };}