2969ca571a
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
37 lines
1,021 B
Nix
37 lines
1,021 B
Nix
{ lib, buildPythonPackage, fetchPypi, installShellFiles
|
|
, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml
|
|
, pytestrunner, coverage, flake8, mock, pytestCheckHook, pytestcov, tox, gntp, sleekxmpp
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "apprise";
|
|
version = "0.9.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "bab3563bc1e0c64938c4c7700112797bd99f20eb5d4a3e6038338bc8f060e153";
|
|
};
|
|
|
|
nativeBuildInputs = [ Babel installShellFiles ];
|
|
|
|
propagatedBuildInputs = [
|
|
requests requests_oauthlib six click markdown pyyaml
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestrunner coverage flake8 mock pytestCheckHook pytestcov tox gntp sleekxmpp
|
|
];
|
|
|
|
disabledTests = [ "test_apprise_cli_nux_env" ];
|
|
|
|
postInstall = ''
|
|
installManPage packaging/man/apprise.1
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|