tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
headlines: init at 0.7.2
Chuang Zhu
3 years ago
a09bb2d5
bbf77421
+74
2 changed files
expand all
collapse all
unified
split
pkgs
applications
networking
headlines
default.nix
top-level
all-packages.nix
+72
pkgs/applications/networking/headlines/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib
2
+
, stdenv
3
+
, cmake
4
+
, pkg-config
5
+
, libmicrohttpd
6
+
, curl
7
+
, openssl
8
+
, jsoncpp
9
+
, libxml2
10
+
, gst_all_1
11
+
, boost
12
+
, websocketpp
13
+
, libadwaita
14
+
, gtkmm4
15
+
, libsecret
16
+
, fetchFromGitLab
17
+
, makeWrapper
18
+
, xdg-utils
19
+
, youtube-dl
20
+
, ffmpeg
21
+
}:
22
+
23
+
stdenv.mkDerivation rec {
24
+
pname = "headlines";
25
+
version = "0.7.2";
26
+
27
+
src = fetchFromGitLab {
28
+
owner = "caveman250";
29
+
repo = "Headlines";
30
+
rev = version;
31
+
sha256 = "sha256-wamow0UozX5ecKbXWOgsWCerInL4J0gK0+Muf+eoO9k=";
32
+
};
33
+
34
+
nativeBuildInputs = [
35
+
cmake
36
+
pkg-config
37
+
makeWrapper
38
+
];
39
+
40
+
buildInputs = [
41
+
libmicrohttpd
42
+
curl
43
+
openssl
44
+
jsoncpp
45
+
libxml2
46
+
boost
47
+
websocketpp
48
+
libadwaita
49
+
gtkmm4
50
+
libsecret
51
+
] ++ (with gst_all_1; [
52
+
gstreamer
53
+
gst-libav
54
+
gst-plugins-base
55
+
(gst-plugins-good.override { gtkSupport = true; })
56
+
gst-plugins-bad
57
+
]);
58
+
59
+
postFixup = ''
60
+
wrapProgram "$out/bin/headlines" \
61
+
--prefix PATH : "${lib.makeBinPath [ xdg-utils youtube-dl ffmpeg ]}" \
62
+
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
63
+
'';
64
+
65
+
meta = with lib; {
66
+
description = "GTK4 / Libadwaita Reddit client written in C++";
67
+
homepage = "https://gitlab.com/caveman250/Headlines";
68
+
license = licenses.gpl3Plus;
69
+
platforms = platforms.linux;
70
+
maintainers = with maintainers; [ chuangzhu ];
71
+
};
72
+
}
+2
pkgs/top-level/all-packages.nix
···
29097
29098
hdhomerun-config-gui = callPackage ../applications/video/hdhomerun-config-gui { };
29099
0
0
29100
hedgedoc-cli = callPackage ../tools/admin/hedgedoc-cli { };
29101
29102
heimer = libsForQt5.callPackage ../applications/misc/heimer { };
···
29097
29098
hdhomerun-config-gui = callPackage ../applications/video/hdhomerun-config-gui { };
29099
29100
+
headlines = callPackage ../applications/networking/headlines { };
29101
+
29102
hedgedoc-cli = callPackage ../tools/admin/hedgedoc-cli { };
29103
29104
heimer = libsForQt5.callPackage ../applications/misc/heimer { };