mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge pull request #102093 from ymeister/master
This commit is contained in:
commit
1a5ce6ff2b
28
pkgs/applications/misc/rss-bridge-cli/default.nix
Normal file
28
pkgs/applications/misc/rss-bridge-cli/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user