nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5 pkg-config,
6 vips,
7 gobject-introspection,
8 wrapGAppsHook4,
9 gtk4,
10 gtk4-layer-shell,
11 nix-update-script,
12 libqalculate,
13}:
14
15buildGoModule rec {
16 pname = "walker";
17 version = "0.13.26";
18
19 src = fetchFromGitHub {
20 owner = "abenz1267";
21 repo = "walker";
22 rev = "v${version}";
23 hash = "sha256-LslpfHXj31Lvq+26ZDzCTaGBbxmp7yXlgKT+uwUEEts=";
24 };
25
26 vendorHash = "sha256-N7lNxO/l3E1BlSSbSiQjrDPy2sWwk4G4JYlUArmMJxs=";
27 subPackages = [ "cmd/walker.go" ];
28
29 passthru.updateScript = nix-update-script { };
30
31 nativeBuildInputs = [
32 pkg-config
33 gobject-introspection
34 wrapGAppsHook4
35 ];
36
37 buildInputs = [
38 gtk4
39 vips
40 gtk4-layer-shell
41 libqalculate
42 ];
43
44 meta = {
45 description = "Wayland-native application runner";
46 homepage = "https://github.com/abenz1267/walker";
47 license = lib.licenses.mit;
48 platforms = lib.platforms.linux;
49 maintainers = with lib.maintainers; [ donovanglover ];
50 mainProgram = "walker";
51 };
52}