nixpkgs/pkgs/by-name/wa/walker/package.nix
2024-08-31 08:53:31 +00:00

48 lines
969 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
pkg-config,
gobject-introspection,
wrapGAppsHook4,
gtk4,
gtk4-layer-shell,
nix-update-script,
}:
buildGoModule rec {
pname = "walker";
version = "0.7.7";
src = fetchFromGitHub {
owner = "abenz1267";
repo = "walker";
rev = "v${version}";
hash = "sha256-UJxLVnKfMLPkzec3XwNHcHE1x5kPFMoyqed0VNgFJ4w=";
};
vendorHash = "sha256-xLhpHrggOGq5VLjQO7OvH/Ei5YivJJhTsy2ek2AudRs=";
subPackages = [ "cmd/walker.go" ];
passthru.updateScript = nix-update-script { };
nativeBuildInputs = [
pkg-config
gobject-introspection
wrapGAppsHook4
];
buildInputs = [
gtk4
gtk4-layer-shell
];
meta = with lib; {
description = "Wayland-native application runner";
homepage = "https://github.com/abenz1267/walker";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ donovanglover ];
mainProgram = "walker";
};
}