mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
headlines: init at 0.7.2
This commit is contained in:
parent
bbf77421ac
commit
a09bb2d5e5
72
pkgs/applications/networking/headlines/default.nix
Normal file
72
pkgs/applications/networking/headlines/default.nix
Normal file
@ -0,0 +1,72 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, cmake
|
||||
, pkg-config
|
||||
, libmicrohttpd
|
||||
, curl
|
||||
, openssl
|
||||
, jsoncpp
|
||||
, libxml2
|
||||
, gst_all_1
|
||||
, boost
|
||||
, websocketpp
|
||||
, libadwaita
|
||||
, gtkmm4
|
||||
, libsecret
|
||||
, fetchFromGitLab
|
||||
, makeWrapper
|
||||
, xdg-utils
|
||||
, youtube-dl
|
||||
, ffmpeg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "headlines";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "caveman250";
|
||||
repo = "Headlines";
|
||||
rev = version;
|
||||
sha256 = "sha256-wamow0UozX5ecKbXWOgsWCerInL4J0gK0+Muf+eoO9k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
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
|
||||
]);
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/headlines" \
|
||||
--prefix PATH : "${lib.makeBinPath [ xdg-utils youtube-dl ffmpeg ]}" \
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -29097,6 +29097,8 @@ with pkgs;
|
||||
|
||||
hdhomerun-config-gui = callPackage ../applications/video/hdhomerun-config-gui { };
|
||||
|
||||
headlines = callPackage ../applications/networking/headlines { };
|
||||
|
||||
hedgedoc-cli = callPackage ../tools/admin/hedgedoc-cli { };
|
||||
|
||||
heimer = libsForQt5.callPackage ../applications/misc/heimer { };
|
||||
|
Loading…
Reference in New Issue
Block a user