{ lib, stdenv, fetchurl, config ? null, dataDir ? "/var/lib/shaarli" }: stdenv.mkDerivation rec { name = "rssBridge-${version}"; version = "2020-10-11"; preferLocalBuild = true; src = fetchurl { url = "https://github.com/RSS-Bridge/rss-bridge/archive/${version}.tar.gz"; sha256 = ""; }; phases = [ "installPhase" ]; installPhase = '' mkdir $out tar xzf $src cp -ra * $out/ find $out -type d -exec chmod 0755 {} \; find $out -type f -exec chmod 0644 {} \; ln -s $dataDir $out ''; meta = with stdenv.lib; { description = "RSS-Bridge is a project to create RSS Feeds for websites that don't have one."; #license = licenses.agpl3; homepage = "https://github.com/RSS-Bridge/rss-bridge/"; platforms = platforms.all; maintainers = with stdenv.lib.maintainers; [ chickensoupwithrice ]; }; }