oboete: use libcosmicAppHook (#381829)
This commit is contained in:
@@ -2,12 +2,8 @@
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
wrapGAppsHook3,
|
||||
libxkbcommon,
|
||||
libcosmicAppHook,
|
||||
sqlite,
|
||||
vulkan-loader,
|
||||
wayland,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
@@ -25,27 +21,9 @@ rustPlatform.buildRustPackage rec {
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-91JMgdpMXL0a7oZXAG5xgiulOIyVXQ5x09wN3XDeSy0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
];
|
||||
nativeBuildInputs = [ libcosmicAppHook ];
|
||||
|
||||
buildInputs = [
|
||||
libxkbcommon
|
||||
sqlite
|
||||
vulkan-loader
|
||||
wayland
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/oboete \
|
||||
--prefix LD_LIBRARY_PATH : "${
|
||||
lib.makeLibraryPath [
|
||||
libxkbcommon
|
||||
wayland
|
||||
]
|
||||
}"
|
||||
'';
|
||||
buildInputs = [ sqlite ];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
@@ -56,7 +34,10 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/mariinkys/oboete";
|
||||
changelog = "https://github.com/mariinkys/oboete/releases/tag/${version}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
maintainers = with lib.maintainers; [
|
||||
GaetanLepage
|
||||
HeitorAugustoLN
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "oboete";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user