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