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
|
|
|
}:
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2023-10-19 13:55:26 +00:00
|
|
|
pname = "geopard";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.6.0";
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ranfdev";
|
2024-06-20 14:57:18 +00:00
|
|
|
repo = "geopard";
|
2024-07-27 06:49:29 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
|
|
|
hash = "sha256-etx8YPEFGSNyiSLpTNIXTZZiLSgAntQsM93On7dPGI0=";
|
2023-10-19 13:55:26 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
2024-09-19 14:19:46 +00:00
|
|
|
inherit (finalAttrs) src;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-YVbaXGGwQaqjUkA47ryW1VgJpZTx5ApRGdCcB5aA71M=";
|
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
|
|
|
];
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
meta = {
|
2023-10-19 13:55:26 +00:00
|
|
|
homepage = "https://github.com/ranfdev/Geopard";
|
|
|
|
description = "Colorful, adaptive gemini browser";
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = with lib.maintainers; [ jfvillablanca aleksana ];
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2023-10-19 13:55:26 +00:00
|
|
|
mainProgram = "geopard";
|
|
|
|
};
|
2024-07-27 06:49:29 +00:00
|
|
|
})
|