oculante: 0.7.7 -> 0.8.6

This commit is contained in:
t4ccer 2023-12-26 00:40:51 -07:00
parent 887c066202
commit 75610d6452
No known key found for this signature in database
GPG Key ID: 19E5A2D8B1E43F19
2 changed files with 6 additions and 6057 deletions

File diff suppressed because it is too large Load Diff

View File

@ -22,18 +22,16 @@
rustPlatform.buildRustPackage rec {
pname = "oculante";
version = "0.7.7";
version = "0.8.6";
src = fetchFromGitHub {
owner = "woelper";
repo = pname;
repo = "oculante";
rev = version;
hash = "sha256-uDSZ7qwDC/eR0aZN372ju21PBGuBiiYmlx/26Ta3luE=";
hash = "sha256-AuHiOZuRhO6PVyDyOtmNG6n/CN5brvJ/Ppn25QCshmE=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoHash = "sha256-EYwey8dDiyYGJa+scENOpaNK2qAVagTJrAPkSZj12w0=";
nativeBuildInputs = [
cmake
@ -69,10 +67,8 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
install -Dm444 $src/res/oculante.png -t $out/share/icons/hicolor/128x128/apps/
install -Dm444 $src/res/oculante.desktop -t $out/share/applications
'';
postFixup = lib.optionalString stdenv.isLinux ''
patchelf $out/bin/oculante --add-rpath ${lib.makeLibraryPath [ libxkbcommon libX11 ]}
wrapProgram $out/bin/oculante \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [libGL]}
'';
meta = with lib; {