about summary refs log tree commit diff
path: root/pkgs/by-name/te
diff options
context:
space:
mode:
authorAlexander Linder <seine@eloque.nz>2024-05-22 19:08:08 +0200
committerAlexander Linder <seine@eloque.nz>2024-05-22 19:08:08 +0200
commitc86144f760cf579adcc066bd0788aad15b7759f2 (patch)
treee4b60e88346a72d4248822b828a21b8cffbccf09 /pkgs/by-name/te
parentf78000f2ae5421993a13bc5a93a99560901c61d5 (diff)
televido: init at 0.3.0
Diffstat (limited to 'pkgs/by-name/te')
-rw-r--r--pkgs/by-name/te/televido/package.nix59
1 files changed, 59 insertions, 0 deletions
diff --git a/pkgs/by-name/te/televido/package.nix b/pkgs/by-name/te/televido/package.nix
new file mode 100644
index 0000000000000..2b495600613b6
--- /dev/null
+++ b/pkgs/by-name/te/televido/package.nix
@@ -0,0 +1,59 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, meson
+, ninja
+, pkg-config
+, rustPlatform
+, rustc
+, cargo
+, wrapGAppsHook4
+, blueprint-compiler
+, libadwaita
+, desktop-file-utils
+, openssl
+}:
+
+stdenv.mkDerivation rec {
+  pname = "televido";
+  version = "0.3.0";
+
+  src = fetchFromGitHub {
+    owner = "d-k-bo";
+    repo = "televido";
+    rev = "v${version}";
+    hash = "sha256-qfUwPyutBNEnplD3kmTJXffzcWkEcR6FTLnT5YDSysU=";
+  };
+
+  cargoDeps = rustPlatform.fetchCargoTarball {
+    inherit src;
+    name = "${pname}-${version}";
+    hash = "sha256-CmQQH6a5xMq+v+P4/sbpQ7iDaGKtzV39FgufD5uxz4Y=";
+  };
+
+  nativeBuildInputs = [
+    meson
+    ninja
+    pkg-config
+    rustPlatform.cargoSetupHook
+    rustc
+    cargo
+    wrapGAppsHook4
+    blueprint-compiler
+    openssl
+  ];
+
+  buildInputs = [
+    libadwaita
+    desktop-file-utils
+  ];
+
+  meta = with lib; {
+    description = "Viewer for German-language public broadcasting live streams and archives";
+    homepage = "https://github.com/d-k-bo/televido";
+    license = licenses.gpl3;
+    mainProgram = "televido";
+    maintainers = with maintainers; [ seineeloquenz ];
+    platforms = platforms.linux;
+  };
+}