blob: 83c0fba8d5f7fde5a16b027b24535c3a8a6089e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, makeWrapper, callPackage, newsboat }:
with stdenv.lib;
let
voidrice = callPackage ../voidrice.nix { };
newsboatConfig = "${voidrice}/.config/newsboat/config";
in
stdenv.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" ];
};
}
|