Merge pull request #102093 from ymeister/master

This commit is contained in:
Sandro 2020-11-23 15:16:35 +01:00 committed by GitHub
commit 1a5ce6ff2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, writeShellScriptBin, rss-bridge, php }:
let
phpWithExts = (php.withExtensions
({ all, ... }: with all; [
curl
filter
iconv
json
mbstring
openssl
simplexml
sqlite3
])
);
phpBin = "${phpWithExts}/bin/php";
in (writeShellScriptBin "rss-bridge-cli" ''
${phpBin} ${rss-bridge}/index.php "$@"
'').overrideAttrs (oldAttrs: rec {
version = rss-bridge.version;
meta = with stdenv.lib; {
description = "Command-line interface for RSS-Bridge";
homepage = "https://github.com/RSS-Bridge/rss-bridge";
license = licenses.unlicense;
maintainers = with maintainers; [ ymeister ];
};
})

View File

@ -6949,6 +6949,8 @@ in
rsibreak = libsForQt5.callPackage ../applications/misc/rsibreak { };
rss-bridge-cli = callPackage ../applications/misc/rss-bridge-cli { };
rss2email = callPackage ../applications/networking/feedreaders/rss2email {
pythonPackages = python3Packages;
};