mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
rss-bridge-cli: init
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
857142e7c8
commit
1d4dc932d5
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 ];
|
||||
};
|
||||
})
|
@ -6879,6 +6879,8 @@ in
|
||||
|
||||
rsibreak = libsForQt514.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