uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
75
pkgs/development/python-modules/apprise/default.nix
Normal file
75
pkgs/development/python-modules/apprise/default.nix
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
{ lib
|
||||
, babel
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, cryptography
|
||||
, fetchPypi
|
||||
, gntp
|
||||
, installShellFiles
|
||||
, markdown
|
||||
, mock
|
||||
, paho-mqtt
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, requests
|
||||
, requests-oauthlib
|
||||
, six
|
||||
, slixmpp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apprise";
|
||||
version = "0.9.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-a6PQ6DB+JkfDJA7BoNVXHzpFP5FD2Ug07LAmYLDo0kQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
babel
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
cryptography
|
||||
markdown
|
||||
pyyaml
|
||||
requests
|
||||
requests-oauthlib
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
gntp
|
||||
mock
|
||||
paho-mqtt
|
||||
pytestCheckHook
|
||||
slixmpp
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_apprise_cli_nux_env"
|
||||
"test_plugin_mqtt_general"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage packaging/man/apprise.1
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"apprise"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Push Notifications that work with just about every platform";
|
||||
homepage = "https://github.com/caronc/apprise";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue