snownews: init at unstable-2021-06-04
This commit is contained in:
parent
9bae5108d5
commit
0f3744a120
|
@ -34,6 +34,8 @@
|
||||||
|
|
||||||
oha = callPackage ./oha { };
|
oha = callPackage ./oha { };
|
||||||
|
|
||||||
|
snownews = callPackage ./snownews { };
|
||||||
|
|
||||||
textidote = callPackage ./textidote { };
|
textidote = callPackage ./textidote { };
|
||||||
|
|
||||||
unxwb = callPackage ./unxwb { };
|
unxwb = callPackage ./unxwb { };
|
||||||
|
@ -71,6 +73,7 @@
|
||||||
cyanrip
|
cyanrip
|
||||||
deemix
|
deemix
|
||||||
oha
|
oha
|
||||||
|
snownews
|
||||||
textidote
|
textidote
|
||||||
unxwb
|
unxwb
|
||||||
vgmstream
|
vgmstream
|
||||||
|
|
32
snownews/default.nix
Normal file
32
snownews/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, which, curl, gettext, libxml2, ncurses, openssl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "snownews";
|
||||||
|
version = "unstable-2021-06-04";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "msharov";
|
||||||
|
repo = pname;
|
||||||
|
rev = "f0834270dfd54cd6075a603c55e92a490c7d0ace";
|
||||||
|
sha256 = "1rqnj6079dhzwlav5physk1h6pxnhbax2bzg3dcp8sr2b7wdzwcz";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "0001-Encode-feed-title-and-url-for-urls.opml.patch";
|
||||||
|
url = "https://github.com/sbruder/snownews/commit/01b291ebd04c67f557b7bf8233fa43f5cda55294.patch";
|
||||||
|
sha256 = "0q8b2amidndd2yyhdxhqxm4an2f6yc3aacsf84krbfr4nr37fqck";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config which ];
|
||||||
|
buildInputs = [ curl gettext libxml2 ncurses openssl ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A text-mode RSS feed reader";
|
||||||
|
homepage = "https://github.com/msharov/snownews";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue