diff options
Diffstat (limited to 'pkgs/by-name/on')
-rw-r--r-- | pkgs/by-name/on/onagre/package.nix | 58 | ||||
-rw-r--r-- | pkgs/by-name/on/onedrivegui/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/on/onedriver/package.nix | 5 | ||||
-rw-r--r-- | pkgs/by-name/on/onevpl-intel-gpu/package.nix | 38 | ||||
-rw-r--r-- | pkgs/by-name/on/onscripter-en/package.nix | 67 | ||||
-rw-r--r-- | pkgs/by-name/on/onthespot/package.nix | 21 |
6 files changed, 148 insertions, 43 deletions
diff --git a/pkgs/by-name/on/onagre/package.nix b/pkgs/by-name/on/onagre/package.nix new file mode 100644 index 0000000000000..5afed73417134 --- /dev/null +++ b/pkgs/by-name/on/onagre/package.nix @@ -0,0 +1,58 @@ +{ lib +, fetchFromGitHub +, makeWrapper +, rustPlatform +, cmake +, pkgconf +, freetype +, expat +, wayland +, xorg +, libxkbcommon +, pop-launcher +, vulkan-loader +, libGL +}: + +rustPlatform.buildRustPackage rec { + pname = "onagre"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "onagre-launcher"; + repo = "onagre"; + rev = "1.1.0"; + hash = "sha256-ASeLvgj2RyhsZQtkUTYeA7jWyhbLg8yl6HbN2A/Sl2M="; + }; + + cargoHash = "sha256-17Hw3jtisOXwARpp0jB0hrNax7nzMWS0kCE3ZAruBj8="; + + nativeBuildInputs = [ makeWrapper cmake pkgconf ]; + buildInputs = [ + expat + freetype + xorg.libX11 + xorg.libXcursor + xorg.libXi + xorg.libXrandr + ]; + + postFixup = let + rpath = lib.makeLibraryPath [ libGL vulkan-loader wayland libxkbcommon ]; + in '' + patchelf --set-rpath ${rpath} $out/bin/onagre + wrapProgram $out/bin/onagre \ + --prefix PATH ':' ${lib.makeBinPath [ + pop-launcher + ]} + ''; + + meta = with lib; { + description = "General purpose application launcher for X and wayland inspired by rofi/wofi and alfred"; + homepage = "https://github.com/onagre-launcher/onagre"; + license = licenses.mit; + maintainers = [ maintainers.jfvillablanca maintainers.ilya-epifanov ]; + platforms = platforms.linux; + mainProgram = "onagre"; + }; +} diff --git a/pkgs/by-name/on/onedrivegui/package.nix b/pkgs/by-name/on/onedrivegui/package.nix index f0a7eb7b75947..53dda082e8d56 100644 --- a/pkgs/by-name/on/onedrivegui/package.nix +++ b/pkgs/by-name/on/onedrivegui/package.nix @@ -79,7 +79,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/bpozdena/OneDriveGUI"; - description = "A simple GUI for Linux OneDrive Client, with multi-account support"; + description = "Simple GUI for Linux OneDrive Client, with multi-account support"; mainProgram = "onedrivegui"; license = licenses.gpl3Only; maintainers = with maintainers; [ chewblacka ]; diff --git a/pkgs/by-name/on/onedriver/package.nix b/pkgs/by-name/on/onedriver/package.nix index ae2ad038d58e2..20e8474c27edc 100644 --- a/pkgs/by-name/on/onedriver/package.nix +++ b/pkgs/by-name/on/onedriver/package.nix @@ -7,6 +7,7 @@ , fuse , installShellFiles , wrapGAppsHook3 +, glib-networking , wrapperDir ? "/run/wrappers/bin" }: let @@ -25,7 +26,7 @@ buildGoModule { vendorHash = "sha256-OOiiKtKb+BiFkoSBUQQfqm4dMfDW3Is+30Kwcdg8LNA="; nativeBuildInputs = [ pkg-config installShellFiles wrapGAppsHook3 ]; - buildInputs = [ webkitgtk_4_1 glib fuse ]; + buildInputs = [ webkitgtk_4_1 glib fuse glib-networking ]; ldflags = [ "-X github.com/jstaf/onedriver/cmd/common.commit=v${version}" ]; @@ -56,7 +57,7 @@ buildGoModule { ''; meta = with lib; { - description = "A network filesystem for Linux"; + description = "Network filesystem for Linux"; longDescription = '' onedriver is a network filesystem that gives your computer direct access to your files on Microsoft OneDrive. This is not a sync client. Instead of syncing files, onedriver performs an on-demand download of files when diff --git a/pkgs/by-name/on/onevpl-intel-gpu/package.nix b/pkgs/by-name/on/onevpl-intel-gpu/package.nix deleted file mode 100644 index 64e6f9d262f2d..0000000000000 --- a/pkgs/by-name/on/onevpl-intel-gpu/package.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, cmake -, pkg-config -, libdrm -, libva -}: - -stdenv.mkDerivation rec { - pname = "onevpl-intel-gpu"; - version = "23.4.3"; - - outputs = [ "out" "dev" ]; - - src = fetchFromGitHub { - owner = "oneapi-src"; - repo = "oneVPL-intel-gpu"; - rev = "intel-onevpl-${version}"; - sha256 = "sha256-oDwDMUq6JpRJH5nbANb7TJLW7HRYA9y0xZxEsoepx/U="; - }; - - nativeBuildInputs = [ cmake pkg-config ]; - - buildInputs = [ libdrm libva ]; - - meta = { - description = "oneAPI Video Processing Library Intel GPU implementation"; - homepage = "https://github.com/oneapi-src/oneVPL-intel-gpu"; - changelog = "https://github.com/oneapi-src/oneVPL-intel-gpu/releases/tag/${src.rev}"; - license = [ lib.licenses.mit ]; - platforms = lib.platforms.linux; - # CMake adds x86 specific compiler flags in <source>/builder/FindGlobals.cmake - # NOTE: https://github.com/oneapi-src/oneVPL-intel-gpu/issues/303 - broken = !stdenv.hostPlatform.isx86; - maintainers = [ lib.maintainers.evanrichter ]; - }; -} diff --git a/pkgs/by-name/on/onscripter-en/package.nix b/pkgs/by-name/on/onscripter-en/package.nix new file mode 100644 index 0000000000000..74b440b427732 --- /dev/null +++ b/pkgs/by-name/on/onscripter-en/package.nix @@ -0,0 +1,67 @@ +{ + lib, + SDL, + SDL_image, + SDL_mixer, + SDL_ttf, + fetchFromGitHub, + freetype, + libjpeg, + libogg, + libpng, + libvorbis, + pkg-config, + smpeg, + stdenv, +}: + + +stdenv.mkDerivation (finalAttrs: { + pname = "onscripter-en"; + version = "20110930"; + + # The website is not available now. Let's use a Museoa backup + src = fetchFromGitHub { + owner = "museoa"; + repo = "onscripter-en"; + rev = finalAttrs.version; + hash = "sha256-Lc5ZlH2C4ER02NmQ6icfiqpzVQdVUnOmdywGjjjSYSg="; + }; + + nativeBuildInputs = [ + SDL + pkg-config + smpeg + ]; + + buildInputs = [ + SDL + SDL_image + SDL_mixer + SDL_ttf + freetype + libjpeg + libogg + libpng + libvorbis + smpeg + ]; + + configureFlags = [ "--no-werror" ]; + + strictDeps = true; + + preBuild = '' + sed -i 's/.dll//g' Makefile + ''; + + meta = { + homepage = "http://github.com/museoa/onscripter-en"; + description = "Japanese visual novel scripting engine"; + license = lib.licenses.gpl2Plus; + mainProgram = "onscripter-en"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.unix; + broken = stdenv.isDarwin; + }; +}) diff --git a/pkgs/by-name/on/onthespot/package.nix b/pkgs/by-name/on/onthespot/package.nix index 7e52d4892fa5f..696a7e51f78e5 100644 --- a/pkgs/by-name/on/onthespot/package.nix +++ b/pkgs/by-name/on/onthespot/package.nix @@ -4,6 +4,7 @@ , makeDesktopItem , python3 , libsForQt5 +, ffmpeg }: python3.pkgs.buildPythonApplication rec { @@ -20,13 +21,13 @@ python3.pkgs.buildPythonApplication rec { nativeBuildInputs = with python3.pkgs; [ copyDesktopItems - pythonRelaxDepsHook libsForQt5.wrapQtAppsHook ]; propagatedBuildInputs = with python3.pkgs; [ charset-normalizer defusedxml + ffmpeg librespot music-tag packaging @@ -52,16 +53,32 @@ python3.pkgs.buildPythonApplication rec { pythonRelaxDeps = true; + postInstall = '' + install -Dm444 $src/src/onthespot/resources/icon.png $out/share/icons/hicolor/256x256/apps/onthespot.png + ''; + preFixup = '' makeWrapperArgs+=("''${qtWrapperArgs[@]}") ''; + desktopItems = [ + (makeDesktopItem { + name = "Onthespot"; + exec = "onthespot_gui"; + icon = "onthespot"; + desktopName = "Onthespot"; + comment = meta.description; + categories = [ "Audio" ]; + }) + ]; + meta = with lib; { - description = " QT based Spotify music downloader written in Python"; + description = "QT based Spotify music downloader written in Python"; homepage = "https://github.com/casualsnek/onthespot"; changelog = "https://github.com/casualsnek/onthespot/releases/tag/v${version}"; license = licenses.gpl2Only; maintainers = with maintainers; [ onny ]; platforms = platforms.linux; + mainProgram = "onthespot_gui"; }; } |