pipeline: init at 2.0.2 (#350476)

This commit is contained in:
Masum Reza 2024-10-23 23:32:38 +05:30 committed by GitHub
commit 4545ad6779
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2749 additions and 0 deletions

2646
pkgs/by-name/pi/pipeline/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,103 @@
{
lib,
stdenv,
rustPlatform,
cargo,
rustc,
fetchFromGitLab,
gtk4,
libadwaita,
openssl,
meson,
ninja,
pkg-config,
wrapGAppsHook4,
glib,
appstream-glib,
desktop-file-utils,
blueprint-compiler,
sqlite,
clapper,
gst_all_1,
gtuber,
glib-networking,
gnome,
webp-pixbuf-loader,
librsvg,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "pipeline";
version = "2.0.2";
src = fetchFromGitLab {
owner = "schmiddi-on-mobile";
repo = "pipeline";
rev = "v${finalAttrs.version}";
hash = "sha256-8LKd7zZuwo/HtxFo8x8UpO1Y8/DnTZmaOYrc9NmnIrc=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"clapper-0.1.0" = "sha256-IFFqfSq2OpzfopQXSYfnJ68HGLY+rvcLqk7NTdDd+28=";
"piped-openapi-sdk-1.0.0" = "sha256-UFzMYYqCzO6KyJvjvK/hBJtz3FOuSC2gWjKp72WFEGk=";
"pipeline-api-0.1.0" = "sha256-h094ZAJOqX9QC1EUAtzIVztudhndXglkYLcFbH/mpqQ=";
};
};
nativeBuildInputs = [
meson
ninja
cargo
rustPlatform.cargoSetupHook
rustc
pkg-config
wrapGAppsHook4
glib
appstream-glib
desktop-file-utils
blueprint-compiler
];
buildInputs = [
gtk4
libadwaita
openssl
sqlite
clapper
gst_all_1.gstreamer
gst_all_1.gst-libav
gst_all_1.gst-plugins-base
(gst_all_1.gst-plugins-good.override { gtkSupport = true; })
gst_all_1.gst-plugins-bad
gtuber
glib-networking # For GIO_EXTRA_MODULES. Fixes "TLS support is not available"
];
# Pull in WebP support for YouTube avatars.
# In postInstall to run before gappsWrapperArgsHook.
postInstall = ''
export GDK_PIXBUF_MODULE_FILE="${
gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
extraLoaders = [
webp-pixbuf-loader
librsvg
];
}
}"
'';
passthru.updateScript = nix-update-script { attrPath = finalAttrs.pname; };
meta = {
description = "Watch YouTube and PeerTube videos in one place";
homepage = "https://mobile.schmidhuberj.de/pipeline";
mainProgram = "tubefeeder";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ chuangzhu ];
platforms = lib.platforms.linux;
};
})