mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
81 lines
1.3 KiB
Nix
81 lines
1.3 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, vala
|
|
, meson
|
|
, ninja
|
|
, python3
|
|
, pkg-config
|
|
, wrapGAppsHook4
|
|
, desktop-file-utils
|
|
, gtk4
|
|
, libadwaita
|
|
, json-glib
|
|
, glib
|
|
, glib-networking
|
|
, gtksourceview5
|
|
, libxml2
|
|
, libgee
|
|
, libsoup_3
|
|
, libsecret
|
|
, libwebp
|
|
, gst_all_1
|
|
, nix-update-script
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tuba";
|
|
version = "0.3.2";
|
|
src = fetchFromGitHub {
|
|
owner = "GeopJr";
|
|
repo = "Tuba";
|
|
rev = "v${version}";
|
|
hash = "sha256-PSEPpJn/lYpeI6AN2AY73NpOcDkMm0zNqeSdELn5HvY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
python3
|
|
wrapGAppsHook4
|
|
desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
glib-networking
|
|
gtksourceview5
|
|
json-glib
|
|
libxml2
|
|
libgee
|
|
libsoup_3
|
|
gtk4
|
|
libadwaita
|
|
libsecret
|
|
libwebp
|
|
] ++ (with gst_all_1; [
|
|
gstreamer
|
|
gst-libav
|
|
gst-plugins-base
|
|
(gst-plugins-good.override { gtkSupport = true; })
|
|
gst-plugins-bad
|
|
]);
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script {
|
|
attrPath = "tuba";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Browse the Fediverse";
|
|
homepage = "https://tuba.geopjr.dev/";
|
|
mainProgram = "dev.geopjr.Tuba";
|
|
license = licenses.gpl3Only;
|
|
changelog = "https://github.com/GeopJr/Tuba/releases/tag/v${version}";
|
|
maintainers = with maintainers; [ chuangzhu aleksana ];
|
|
};
|
|
}
|