mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 15:15:52 +05:30
Added russ tui rss reader
This commit is contained in:
parent
b2272c96bb
commit
c7f3327147
|
@ -49,7 +49,6 @@
|
||||||
gnome.gnome-calendar
|
gnome.gnome-calendar
|
||||||
gnome.seahorse
|
gnome.seahorse
|
||||||
gnome.gnome-maps
|
gnome.gnome-maps
|
||||||
newsflash
|
|
||||||
openvpn
|
openvpn
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
|
|
34
user/pkgs/russ.nix
Normal file
34
user/pkgs/russ.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ lib, fetchgit, pkgs, ... }:
|
||||||
|
let
|
||||||
|
rustPlatform = pkgs.makeRustPlatform {
|
||||||
|
cargo = pkgs.rust-bin.stable.latest.minimal;
|
||||||
|
rustc = pkgs.rust-bin.stable.latest.minimal;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "russ";
|
||||||
|
version = "unstable";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/ckampfe/russ.git";
|
||||||
|
rev = "1482bb1df13738fdd4ea1badf2146a9ed8e6656e";
|
||||||
|
sha256 = "sha256-MvTMo2q/cQ/LQNdUV8SmHgGlA42kLl0i9mdcoAFV/I4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-/r1Dp7eh2qVYRGINVdPq6e8c9U/R2AzVEy/g+j/GRPo=";
|
||||||
|
|
||||||
|
checkType = "debug";
|
||||||
|
checkFlags = [
|
||||||
|
# network required tests don't work when building with nix for some reason
|
||||||
|
"--skip=rss::tests::it_fetches"
|
||||||
|
"--skip=rss::tests::it_subscribes_to_a_feed"
|
||||||
|
"--skip=rss::tests::refresh_feed_does_not_add_any_items_if_there_are_no_new_items"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A TUI RSS reader with vim-like controls and a local-first, offline-first focus ";
|
||||||
|
homepage = "https://github.com/ckampfe/russ";
|
||||||
|
license = licenses.agpl3Only;
|
||||||
|
maintainers = [];
|
||||||
|
};
|
||||||
|
}
|
|
@ -21,6 +21,7 @@
|
||||||
fzf
|
fzf
|
||||||
pandoc
|
pandoc
|
||||||
(pkgs.callPackage ../pkgs/ytsub.nix { })
|
(pkgs.callPackage ../pkgs/ytsub.nix { })
|
||||||
|
(pkgs.callPackage ../pkgs/russ.nix { })
|
||||||
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
|
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue