diff options
Diffstat (limited to 'pkgs/larbs-news/default.nix')
-rw-r--r-- | pkgs/larbs-news/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/larbs-news/default.nix b/pkgs/larbs-news/default.nix new file mode 100644 index 0000000..3891802 --- /dev/null +++ b/pkgs/larbs-news/default.nix @@ -0,0 +1,27 @@ +{ stdenv, makeWrapper, callPackage, newsboat }: +with stdenv.lib; + +let + voidrice = callPackage ../voidrice.nix { }; + newsboatConfig = "${voidrice}/.config/newsboat/config"; +in + +mkDerivation { + pname = "larbs-news"; + version = "1.0"; + unpackPhase = "true"; + + buildInputs = [ makeWrapper ]; + + installPhase = '' + makeWrapper ${newsboat}/bin/newsboat $out/bin/newsboat \ + --add-flags "-C ${newsboatConfig}" + ''; + + meta = { + homepage = "https://github.com/LukeSmithXYZ/voidrice"; + description = "Newsboat RSS reader with vim bindings"; + license = licenses.gpl3; + platforms = [ "x86_64-linux" "x86_64-darwin" ]; + }; +} |