Merge pull request #276860 from t4ccer/t4/oculante

oculante: 0.7.7 -> 0.8.6
This commit is contained in:
figsoda 2024-01-16 21:08:39 -05:00 committed by GitHub
commit 58c697fbb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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; {