depot/third_party/nixpkgs/pkgs/by-name/wa/walker/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03: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";
};
}