oculante: 0.7.7 -> 0.8.6
This commit is contained in:
parent
887c066202
commit
75610d6452
6047
pkgs/applications/graphics/oculante/Cargo.lock
generated
6047
pkgs/applications/graphics/oculante/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user