diff options
Diffstat (limited to 'pkgs/by-name/li')
-rw-r--r-- | pkgs/by-name/li/libcamera/package.nix | 7 | ||||
-rw-r--r-- | pkgs/by-name/li/libetebase/package.nix | 45 | ||||
-rw-r--r-- | pkgs/by-name/li/libgnome-keyring/package.nix | 49 | ||||
-rw-r--r-- | pkgs/by-name/li/libisocodes/package.nix | 53 | ||||
-rw-r--r-- | pkgs/by-name/li/libmediainfo/package.nix | 4 | ||||
-rw-r--r-- | pkgs/by-name/li/libplacebo_5/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/li/libzim-glib/package.nix | 50 | ||||
-rw-r--r-- | pkgs/by-name/li/limine/package.nix | 4 | ||||
-rw-r--r-- | pkgs/by-name/li/linux-wallpaperengine/package.nix | 4 | ||||
-rw-r--r-- | pkgs/by-name/li/livecaptions/package.nix | 79 | ||||
-rw-r--r-- | pkgs/by-name/li/livekit-cli/package.nix | 6 | ||||
-rw-r--r-- | pkgs/by-name/li/livekit/package.nix | 6 | ||||
-rw-r--r-- | pkgs/by-name/li/livi/package.nix | 4 |
13 files changed, 295 insertions, 18 deletions
diff --git a/pkgs/by-name/li/libcamera/package.nix b/pkgs/by-name/li/libcamera/package.nix index c122f840df32e..6795a5bf5cfd7 100644 --- a/pkgs/by-name/li/libcamera/package.nix +++ b/pkgs/by-name/li/libcamera/package.nix @@ -25,18 +25,18 @@ stdenv.mkDerivation rec { pname = "libcamera"; - version = "0.2.0"; + version = "0.3.0"; src = fetchgit { url = "https://git.libcamera.org/libcamera/libcamera.git"; rev = "v${version}"; - hash = "sha256-x0Im9m9MoACJhQKorMI34YQ+/bd62NdAPc2nWwaJAvM="; + hash = "sha256-eCtOtdjpwn0S56ZyRVdG1QCBk1KGPh8YTXD50xev7Bc="; }; outputs = [ "out" "dev" ]; postPatch = '' - patchShebangs utils/ + patchShebangs src/py/ utils/ ''; # libcamera signs the IPA module libraries at install time, but they are then @@ -81,6 +81,7 @@ stdenv.mkDerivation rec { pkg-config python3 python3Packages.jinja2 + python3Packages.pybind11 python3Packages.pyyaml python3Packages.ply python3Packages.sphinx diff --git a/pkgs/by-name/li/libetebase/package.nix b/pkgs/by-name/li/libetebase/package.nix new file mode 100644 index 0000000000000..d039cad84201e --- /dev/null +++ b/pkgs/by-name/li/libetebase/package.nix @@ -0,0 +1,45 @@ +{ rustPlatform +, fetchFromGitHub +, pkg-config +, openssl +, lib +, stdenv +, testers +, libetebase +}: +rustPlatform.buildRustPackage rec { + pname = "libetebase"; + version = "0.5.6"; + + src = fetchFromGitHub { + owner = "etesync"; + repo = "libetebase"; + rev = "v${version}"; + hash = "sha256-cXuOKfyMdk+YzDi0G8i44dyBRf4Ez5+AlCKG43BTSSU="; + }; + + cargoHash = "sha256-GUNj5GrY04CXnej3WDKZmW4EeJhoCl2blHSDfEkQKtE="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ openssl ]; + + postInstall = '' + install -d $out/lib/pkgconfig + sed s#@prefix@#$out#g etebase.pc.in > $out/lib/pkgconfig/etebase.pc + install -Dm644 EtebaseConfig.cmake -t $out/lib/cmake/Etebase + install -Dm644 target/etebase.h -t $out/include/etebase + ln -s $out/lib/libetebase.so $out/lib/libetebase.so.0 + ''; + + passthru.tests.pkgs-config = testers.testMetaPkgConfig libetebase; + + meta = with lib; { + description = "A C library for Etebase"; + homepage = "https://www.etebase.com/"; + license = licenses.bsd3; + broken = stdenv.isDarwin; + maintainers = with maintainers; [ laalsaas ]; + pkgConfigModules = [ "etebase" ]; + }; +} diff --git a/pkgs/by-name/li/libgnome-keyring/package.nix b/pkgs/by-name/li/libgnome-keyring/package.nix new file mode 100644 index 0000000000000..e845970a6ad7d --- /dev/null +++ b/pkgs/by-name/li/libgnome-keyring/package.nix @@ -0,0 +1,49 @@ +{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool, gobject-introspection, gnome +, testers +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "libgnome-keyring"; + version = "3.12.0"; + + src = fetchurl { + url = "mirror://gnome/sources/libgnome-keyring/${lib.versions.majorMinor finalAttrs.version}/libgnome-keyring-${finalAttrs.version}.tar.xz"; + sha256 = "c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783"; + }; + + outputs = [ "out" "dev" ]; + + strictDeps = true; + propagatedBuildInputs = [ glib gobject-introspection dbus libgcrypt ]; + nativeBuildInputs = [ pkg-config intltool ]; + + configureFlags = [ + # not ideal to use -config scripts but it's not possible switch it to pkg-config + # binaries in dev have a for build shebang + "LIBGCRYPT_CONFIG=${lib.getExe' (lib.getDev libgcrypt) "libgcrypt-config"}" + ]; + + postPatch = '' + # uses pkg-config in some places and uses the correct $PKG_CONFIG in some + # it's an ancient library so it has very old configure scripts and m4 + substituteInPlace ./configure \ + --replace "pkg-config" "$PKG_CONFIG" + ''; + + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + + meta = { + description = "Framework for managing passwords and other secrets"; + homepage = "https://gitlab.gnome.org/Archive/libgnome-keyring"; + license = with lib.licenses; [ gpl2Plus lgpl2Plus ]; + pkgConfigModules = [ "gnome-keyring-1" ]; + platforms = lib.platforms.unix; + maintainers = []; + + longDescription = '' + gnome-keyring is a program that keeps password and other secrets for + users. The library libgnome-keyring is used by applications to integrate + with the gnome-keyring system. + ''; + }; +}) diff --git a/pkgs/by-name/li/libisocodes/package.nix b/pkgs/by-name/li/libisocodes/package.nix new file mode 100644 index 0000000000000..4b4d4003d833e --- /dev/null +++ b/pkgs/by-name/li/libisocodes/package.nix @@ -0,0 +1,53 @@ +{ + lib, + stdenv, + fetchFromGitHub, + vala, + pkg-config, + gobject-introspection, + libxml2, + libgee, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "libisocodes"; + version = "1.2.5"; + + src = fetchFromGitHub { + owner = "toddy15"; + repo = "libisocodes"; + rev = "v${finalAttrs.version}"; + hash = "sha256-a2gVqiZXDiH1byEw/s3MqDQBBZ/bmnw8OyllGYfYykQ="; + }; + + nativeBuildInputs = [ + vala + pkg-config + gobject-introspection + ]; + + buildInputs = [ + libxml2 + libgee + ]; + + meta = { + description = "Easily access XML data of the iso-codes package"; + longDescription = '' + This library can be used to easily access XML data of + the iso-codes package. It will provide an abstraction + layer to handle both the version 3 and the upcoming + version 4 of iso-codes. Moreover, all available + translations can be used as well. + + This library makes use of the GObject introspection + features, so that it is accessible from a variety of + programming languages, for example C, Vala, Ruby, + Python, Perl, Lua, JavaScript, PHP and many more. + ''; + homepage = "https://github.com/toddy15/libisocodes"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ aleksana ]; + platforms = lib.platforms.unix; + }; +}) diff --git a/pkgs/by-name/li/libmediainfo/package.nix b/pkgs/by-name/li/libmediainfo/package.nix index 931c24ad28d4f..4f433e9b6f146 100644 --- a/pkgs/by-name/li/libmediainfo/package.nix +++ b/pkgs/by-name/li/libmediainfo/package.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "libmediainfo"; - version = "24.05"; + version = "24.06"; src = fetchurl { url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz"; - hash = "sha256-sU95EEsdDXjen7QoBfKdVP3wHD5Ckcw2OOBNCdFFuNY="; + hash = "sha256-BoPyiiR13CQXIFulKN68zEB9pNn6ZRbrS3Wz/3JE6W4="; }; nativeBuildInputs = [ autoreconfHook pkg-config ]; diff --git a/pkgs/by-name/li/libplacebo_5/package.nix b/pkgs/by-name/li/libplacebo_5/package.nix index f307a869e940b..8dc6dbe1cea6e 100644 --- a/pkgs/by-name/li/libplacebo_5/package.nix +++ b/pkgs/by-name/li/libplacebo_5/package.nix @@ -71,7 +71,7 @@ stdenv.mkDerivation rec { homepage = "https://code.videolan.org/videolan/libplacebo"; changelog = "https://code.videolan.org/videolan/libplacebo/-/tags/v${version}"; license = licenses.lgpl21Plus; - maintainers = with maintainers; [ primeos tadeokondrak ]; + maintainers = with maintainers; [ primeos ]; platforms = platforms.all; }; } diff --git a/pkgs/by-name/li/libzim-glib/package.nix b/pkgs/by-name/li/libzim-glib/package.nix new file mode 100644 index 0000000000000..39894323c227f --- /dev/null +++ b/pkgs/by-name/li/libzim-glib/package.nix @@ -0,0 +1,50 @@ +{ + lib, + stdenv, + fetchFromGitHub, + meson, + ninja, + vala, + pkg-config, + gobject-introspection, + glib, + zimlib, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "libzim-glib"; + version = "4.0.0"; + + src = fetchFromGitHub { + owner = "birros"; + repo = "libzim-glib"; + rev = "v${finalAttrs.version}"; + hash = "sha256-C1f/ULTJIHvt/LCSRw3dsGAWUkb1i4xaCmW1+QBZd2c="; + }; + + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ + meson + ninja + vala + pkg-config + gobject-introspection + ]; + + buildInputs = [ + glib + zimlib + ]; + + # requires downloading test sample of a specific zimlib version + doCheck = false; + + meta = { + description = "Partial GObject/C bindings for libzim"; + homepage = "https://github.com/birros/libzim-glib"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ aleksana ]; + platforms = lib.platforms.unix; + }; +}) diff --git a/pkgs/by-name/li/limine/package.nix b/pkgs/by-name/li/limine/package.nix index f313ab80863f1..eade9bd2d6316 100644 --- a/pkgs/by-name/li/limine/package.nix +++ b/pkgs/by-name/li/limine/package.nix @@ -12,7 +12,7 @@ }: let - version = "7.7.2"; + version = "7.9.1"; in # The output of the derivation is a tool to create bootable images using Limine # as bootloader for various platforms and corresponding binary and helper files. @@ -24,7 +24,7 @@ stdenv.mkDerivation { # Packaging that in Nix is very cumbersome. src = fetchurl { url = "https://github.com/limine-bootloader/limine/releases/download/v${version}/limine-${version}.tar.gz"; - sha256 = "sha256-t3ymsKn+pFW2xOn+BKJriqx2cMbCjtnGGgvCF82/8TE="; + sha256 = "sha256-cR6ilV5giwvbqUoOGbnXQnqZzUz/oL7OGZPYNoFKvy0="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/li/linux-wallpaperengine/package.nix b/pkgs/by-name/li/linux-wallpaperengine/package.nix index 02838ccb83cc2..0ec85d195db76 100644 --- a/pkgs/by-name/li/linux-wallpaperengine/package.nix +++ b/pkgs/by-name/li/linux-wallpaperengine/package.nix @@ -3,7 +3,7 @@ , fetchFromGitHub , cmake , ffmpeg -, freeglut +, libglut , freeimage , glew , glfw @@ -44,7 +44,7 @@ stdenv.mkDerivation { buildInputs = [ ffmpeg - freeglut + libglut freeimage glew glfw diff --git a/pkgs/by-name/li/livecaptions/package.nix b/pkgs/by-name/li/livecaptions/package.nix new file mode 100644 index 0000000000000..1dc03b3e5d85f --- /dev/null +++ b/pkgs/by-name/li/livecaptions/package.nix @@ -0,0 +1,79 @@ +{ + lib, + stdenv, + fetchFromGitHub, + fetchurl, + meson, + ninja, + pkg-config, + cmake, + appstream-glib, + desktop-file-utils, + wrapGAppsHook4, + onnxruntime, + libadwaita, + libpulseaudio, + xorg, +}: let + aprilAsr = fetchFromGitHub { + name = "april-asr"; + owner = "abb128"; + repo = "april-asr"; + rev = "3308e68442664552de593957cad0fa443ea183dd"; + hash = "sha256-/cOZ2EcZu/Br9v0ComxnOegcEtlC9e8FYt3XHfah7mE="; + }; +in + stdenv.mkDerivation (finalAttrs: { + pname = "livecaptions"; + version = "0.4.2"; + + src = fetchFromGitHub { + owner = "abb128"; + repo = "LiveCaptions"; + rev = "v${finalAttrs.version}"; + hash = "sha256-bLWJQgZopuQ0t2pexazUTj1+C2weRMrL3PUhIHZ0W5M="; + }; + + model = fetchurl { + name = "april-english-dev-01110_en.april"; + url = "https://april.sapples.net/april-english-dev-01110_en.april"; + hash = "sha256-d+uV0PpPdwijfoaMImUwHubELcsl5jymPuo9nLrbwfM="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + cmake + appstream-glib # appstreamcli + desktop-file-utils # update-desktop-database + wrapGAppsHook4 + ]; + + buildInputs = [ + onnxruntime + libadwaita + libpulseaudio + xorg.libX11 + ]; + + postUnpack = '' + rm -r source/subprojects/april-asr + ln -s ${aprilAsr} source/subprojects/april-asr + ''; + + preFixup = '' + gappsWrapperArgs+=( + --set APRIL_MODEL_PATH ${finalAttrs.model} + ) + ''; + + meta = with lib; { + description = "Linux Desktop application that provides live captioning"; + homepage = "https://github.com/abb128/LiveCaptions"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [Scrumplex]; + mainProgram = "livecaptions"; + }; + }) diff --git a/pkgs/by-name/li/livekit-cli/package.nix b/pkgs/by-name/li/livekit-cli/package.nix index fe276c14c3434..777d71a987d20 100644 --- a/pkgs/by-name/li/livekit-cli/package.nix +++ b/pkgs/by-name/li/livekit-cli/package.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "livekit-cli"; - version = "1.4.3"; + version = "1.5.1"; src = fetchFromGitHub { owner = "livekit"; repo = "livekit-cli"; rev = "v${version}"; - hash = "sha256-IARQ5yxktem729SrxdT5i+7+1dY60xw+2KZU+unlsKM="; + hash = "sha256-J5tg3nm2pEemEZcIpObcxH+G4ByzvUtoSyy92CcWr6M="; }; - vendorHash = "sha256-3ePOwEEPexM+k0atW/mW4yNVtnsEXwv1w5NVQLyexbs="; + vendorHash = "sha256-ywHTIuiZaoY3p7hTsnImcCpuwMXHQZcnRsWerIlOU4o="; subPackages = [ "cmd/livekit-cli" ]; diff --git a/pkgs/by-name/li/livekit/package.nix b/pkgs/by-name/li/livekit/package.nix index 3d7584b864e99..0e2b6997f1530 100644 --- a/pkgs/by-name/li/livekit/package.nix +++ b/pkgs/by-name/li/livekit/package.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "livekit"; - version = "1.6.2"; + version = "1.7.0"; src = fetchFromGitHub { owner = "livekit"; repo = "livekit"; rev = "v${version}"; - hash = "sha256-fJpW85bYV6Jl7EoyXsJdr4hUqBntMzBnJfTO316/En0="; + hash = "sha256-wUMp2U++6LQm8Iyv6CI8NSoc1sL2k/N12m4FVr35RS0="; }; - vendorHash = "sha256-V8kHIzIZj07B1N2KBGICIFF7aRFl2oynMIZUPeotCs8="; + vendorHash = "sha256-SN92BqNsbtXHwIcEk6AmVLoKyPr8Pn4MbKEIYS4ZodQ="; subPackages = [ "cmd/server" ]; diff --git a/pkgs/by-name/li/livi/package.nix b/pkgs/by-name/li/livi/package.nix index d39007f9efe99..eec7878794232 100644 --- a/pkgs/by-name/li/livi/package.nix +++ b/pkgs/by-name/li/livi/package.nix @@ -15,14 +15,14 @@ stdenv.mkDerivation rec { pname = "livi"; - version = "0.1.0"; + version = "0.2.0"; src = fetchFromGitLab { owner = "guidog"; repo = "livi"; domain = "gitlab.gnome.org"; rev = "v${version}"; - sha256 = "sha256-FJ43BDRsZUFuRrNFWuEJ/nSO+suWad2QvqhwzuXWBtY="; + hash = "sha256-4CWH8TWxuDGYlOilxyCa/HL/vtO6A9u/x39s1OLDODo"; }; nativeBuildInputs = [ meson |