depot/third_party/nixpkgs/pkgs/by-name/ge/geopard/package.nix

62 lines
1.1 KiB
Nix

{
stdenv,
cargo,
rustc,
fetchFromGitHub,
libadwaita,
rustPlatform,
pkg-config,
lib,
wrapGAppsHook4,
meson,
ninja,
desktop-file-utils,
blueprint-compiler,
glib-networking,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "geopard";
version = "1.6.0";
src = fetchFromGitHub {
owner = "ranfdev";
repo = "geopard";
rev = "v${finalAttrs.version}";
hash = "sha256-etx8YPEFGSNyiSLpTNIXTZZiLSgAntQsM93On7dPGI0=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
hash = "sha256-YVbaXGGwQaqjUkA47ryW1VgJpZTx5ApRGdCcB5aA71M=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook4
blueprint-compiler
desktop-file-utils
cargo
rustc
rustPlatform.cargoSetupHook
];
buildInputs = [
libadwaita
glib-networking
];
meta = {
homepage = "https://github.com/ranfdev/Geopard";
description = "Colorful, adaptive gemini browser";
maintainers = with lib.maintainers; [
jfvillablanca
aleksana
];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
mainProgram = "geopard";
};
})