2023-10-19 13:55:26 +00:00
|
|
|
{ stdenv
|
|
|
|
, cargo
|
|
|
|
, rustc
|
|
|
|
, fetchFromGitHub
|
|
|
|
, libadwaita
|
|
|
|
, rustPlatform
|
|
|
|
, pkg-config
|
|
|
|
, lib
|
|
|
|
, wrapGAppsHook4
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, desktop-file-utils
|
|
|
|
, blueprint-compiler
|
2024-06-20 14:57:18 +00:00
|
|
|
, glib-networking
|
2023-10-19 13:55:26 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "geopard";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "1.5.0";
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ranfdev";
|
2024-06-20 14:57:18 +00:00
|
|
|
repo = "geopard";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-QHqhjoiKiwTBDMDhb7Agqe0/o2LyLDs2kl/HC4UfayY=";
|
2023-10-19 13:55:26 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
|
|
inherit pname version src;
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-AmGwsSRrZK+oSnkn9Xzmia/Kbkw19v0nb1kFJtymqOs=";
|
2023-10-19 13:55:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook4
|
|
|
|
blueprint-compiler
|
|
|
|
desktop-file-utils
|
|
|
|
cargo
|
|
|
|
rustc
|
|
|
|
rustPlatform.cargoSetupHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libadwaita
|
2024-06-20 14:57:18 +00:00
|
|
|
glib-networking
|
2023-10-19 13:55:26 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/ranfdev/Geopard";
|
|
|
|
description = "Colorful, adaptive gemini browser";
|
2024-06-20 14:57:18 +00:00
|
|
|
maintainers = with maintainers; [ jfvillablanca aleksana ];
|
2023-10-19 13:55:26 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
mainProgram = "geopard";
|
|
|
|
};
|
|
|
|
}
|