Merge pull request #296846 from ilya-epifanov/onagre-1.0.0

onagre: 1.0.0-alpha.0 -> 1.1.0
This commit is contained in:
Aleksana 2024-05-13 19:34:40 +08:00 committed by GitHub
commit 7689655b82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 58 additions and 5171 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,41 +0,0 @@
{ lib
, fetchFromGitHub
, rustPlatform
, cmake
, pkgconf
, freetype
, expat
}:
rustPlatform.buildRustPackage rec {
pname = "onagre";
version = "1.0.0-alpha.0";
src = fetchFromGitHub {
owner = "oknozor";
repo = pname;
rev = version;
hash = "sha256-hP+slfCWgsTgR2ZUjAmqx9f7+DBu3MpSLvaiZhqNK1Q=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"pop-launcher-1.2.1" = "sha256-LeKaJIvooD2aUlY113P0mzxOcj63sGkrA0SIccNqCLY=";
};
};
cargoSha256 = "sha256-IOhAGrAiT2mnScNP7k7XK9CETUr6BjGdQVdEUvTYQT4=";
nativeBuildInputs = [ cmake pkgconf ];
buildInputs = [ freetype expat ];
meta = with lib; {
description = "A general purpose application launcher for X and wayland inspired by rofi/wofi and alfred";
homepage = "https://github.com/oknozor/onagre";
license = licenses.mit;
maintainers = [ maintainers.jfvillablanca ];
platforms = platforms.linux;
mainProgram = "onagre";
};
}

View File

@ -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 = "A 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";
};
}

View File

@ -26040,8 +26040,6 @@ with pkgs;
olaris-server = callPackage ../servers/olaris { };
onagre = callPackage ../applications/misc/onagre { };
onlyoffice-documentserver = callPackage ../servers/onlyoffice-documentserver { };
outline = callPackage ../servers/web-apps/outline (lib.fix (super: {