about summary refs log tree commit diff
path: root/pkgs/by-name/ge/geopard/package.nix
blob: 4966ee60aa4325a39ce8cf71a0714ed391fcbf4c (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ stdenv
, cargo
, rustc
, fetchFromGitHub
, libadwaita
, rustPlatform
, pkg-config
, lib
, wrapGAppsHook4
, meson
, ninja
, desktop-file-utils
, blueprint-compiler
, glib-networking
}:

stdenv.mkDerivation rec {
  pname = "geopard";
  version = "1.5.0";

  src = fetchFromGitHub {
    owner = "ranfdev";
    repo = "geopard";
    rev = "v${version}";
    hash = "sha256-QHqhjoiKiwTBDMDhb7Agqe0/o2LyLDs2kl/HC4UfayY=";
  };

  cargoDeps = rustPlatform.fetchCargoTarball {
    inherit pname version src;
    hash = "sha256-AmGwsSRrZK+oSnkn9Xzmia/Kbkw19v0nb1kFJtymqOs=";
  };

  nativeBuildInputs = [
    meson
    ninja
    pkg-config
    wrapGAppsHook4
    blueprint-compiler
    desktop-file-utils
    cargo
    rustc
    rustPlatform.cargoSetupHook
  ];

  buildInputs = [
    libadwaita
    glib-networking
  ];

  meta = with lib; {
    homepage = "https://github.com/ranfdev/Geopard";
    description = "Colorful, adaptive gemini browser";
    maintainers = with maintainers; [ jfvillablanca aleksana ];
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    mainProgram = "geopard";
  };
}