nixpkgs/pkgs/development/python-modules/apprise/default.nix

34 lines
915 B
Nix
Raw Normal View History

2019-05-31 07:00:00 +01:00
{ lib, buildPythonPackage, fetchPypi
, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml
, pytestrunner, coverage, flake8, mock, pytestCheckHook, pytestcov, tox, gntp, sleekxmpp
2019-05-31 07:00:00 +01:00
}:
buildPythonPackage rec {
pname = "apprise";
version = "0.9.0";
2019-05-31 07:00:00 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "bab3563bc1e0c64938c4c7700112797bd99f20eb5d4a3e6038338bc8f060e153";
2019-05-31 07:00:00 +01:00
};
nativeBuildInputs = [ Babel ];
propagatedBuildInputs = [
requests requests_oauthlib six click markdown pyyaml
2019-05-31 07:00:00 +01:00
];
checkInputs = [
pytestrunner coverage flake8 mock pytestCheckHook pytestcov tox gntp sleekxmpp
2019-05-31 07:00:00 +01:00
];
disabledTests = [ "test_apprise_cli_nux_env" ];
2019-05-31 07:00:00 +01:00
meta = with lib; {
homepage = "https://github.com/caronc/apprise";
description = "Push Notifications that work with just about every platform!";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}