Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
82 lines
1.3 KiB
Nix
82 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
pkg-config,
|
|
libmicrohttpd,
|
|
curl,
|
|
openssl,
|
|
jsoncpp,
|
|
libxml2,
|
|
gst_all_1,
|
|
boost,
|
|
websocketpp,
|
|
libadwaita,
|
|
gtkmm4,
|
|
libsecret,
|
|
fetchFromGitLab,
|
|
wrapGAppsHook4,
|
|
xdg-utils,
|
|
youtube-dl,
|
|
ffmpeg,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "headlines";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "caveman250";
|
|
repo = "Headlines";
|
|
rev = version;
|
|
hash = "sha256-wamow0UozX5ecKbXWOgsWCerInL4J0gK0+Muf+eoO9k=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
libmicrohttpd
|
|
curl
|
|
openssl
|
|
jsoncpp
|
|
libxml2
|
|
boost
|
|
websocketpp
|
|
libadwaita
|
|
gtkmm4
|
|
libsecret
|
|
]
|
|
++ (with gst_all_1; [
|
|
gstreamer
|
|
gst-libav
|
|
gst-plugins-base
|
|
(gst-plugins-good.override { gtkSupport = true; })
|
|
gst-plugins-bad
|
|
]);
|
|
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(
|
|
--prefix PATH : "${
|
|
lib.makeBinPath [
|
|
xdg-utils
|
|
youtube-dl
|
|
ffmpeg
|
|
]
|
|
}"
|
|
)
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "GTK4 / Libadwaita Reddit client written in C++";
|
|
homepage = "https://gitlab.com/caveman250/Headlines";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ chuangzhu ];
|
|
mainProgram = "headlines";
|
|
};
|
|
}
|