about summary refs log tree commit diff
path: root/pkgs/applications/misc/findex/default.nix
blob: 1736c349f3a21d806f18c87fc1d1cf6e52e665d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, fetchFromGitHub, rustPlatform, pkg-config, keybinder3, gtk3 }:

rustPlatform.buildRustPackage rec {
  pname = "findex";
  version = "0.7.1";

  src = fetchFromGitHub {
    owner = "mdgaziur";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-KaT6lEbrUelv/f9bIBW4bSCuExFu4b7XI7hcrO4mD0M=";
  };

  cargoHash = "sha256-7A+EF88DJrgsKPOJt2xaBnWSMkyhpFImyZmnHcyp+Dw=";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    gtk3
    keybinder3
  ];

  meta = with lib; {
    description = "Highly customizable application finder written in Rust and uses Gtk3";
    homepage = "https://github.com/mdgaziur/findex";
    license = licenses.gpl3Only;
    platforms = platforms.linux;
    maintainers = [ maintainers.pinkcreeper100 ];
  };
}