commit
6408e36c20
@ -23,17 +23,22 @@
|
||||
, libspelling
|
||||
, icu
|
||||
, gst_all_1
|
||||
, clapper
|
||||
# clapper support is still experimental and has bugs.
|
||||
# See https://github.com/GeopJr/Tuba/pull/931
|
||||
, clapperSupport? false
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tuba";
|
||||
version = "0.7.2";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GeopJr";
|
||||
repo = "Tuba";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-PRbepitFSvdw/7y5VlnSdsQwnlTQg4ktM4t1/x6SmAY=";
|
||||
hash = "sha256-dN915sPBttnrcOuhUJjEtdojOQi9VRLmc+t1RvWmx64=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -67,7 +72,13 @@ stdenv.mkDerivation rec {
|
||||
gst-plugins-base
|
||||
(gst-plugins-good.override { gtkSupport = true; })
|
||||
gst-plugins-bad
|
||||
]);
|
||||
]) ++ lib.optionals clapperSupport [
|
||||
clapper
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
(lib.mesonBool "clapper" clapperSupport)
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=int-conversion";
|
||||
|
||||
@ -75,12 +86,12 @@ stdenv.mkDerivation rec {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Browse the Fediverse";
|
||||
homepage = "https://tuba.geopjr.dev/";
|
||||
mainProgram = "dev.geopjr.Tuba";
|
||||
license = licenses.gpl3Only;
|
||||
license = lib.licenses.gpl3Only;
|
||||
changelog = "https://github.com/GeopJr/Tuba/releases/tag/v${version}";
|
||||
maintainers = with maintainers; [ chuangzhu aleksana ];
|
||||
maintainers = with lib.maintainers; [ chuangzhu aleksana ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user