at master 39 lines 749 B view raw
1{ 2 lib, 3 writeShellScriptBin, 4 rss-bridge, 5 php, 6}: 7 8let 9 phpWithExts = ( 10 php.withExtensions ( 11 { all, ... }: 12 with all; 13 [ 14 curl 15 filter 16 iconv 17 mbstring 18 openssl 19 simplexml 20 sqlite3 21 ] 22 ) 23 ); 24 phpBin = "${phpWithExts}/bin/php"; 25in 26(writeShellScriptBin "rss-bridge-cli" '' 27 ${phpBin} ${rss-bridge}/index.php "$@" 28'').overrideAttrs 29 (oldAttrs: { 30 version = rss-bridge.version; 31 32 meta = with lib; { 33 description = "Command-line interface for RSS-Bridge"; 34 homepage = "https://github.com/RSS-Bridge/rss-bridge"; 35 license = licenses.unlicense; 36 maintainers = with maintainers; [ ymeister ]; 37 mainProgram = "rss-bridge-cli"; 38 }; 39 })