depot/third_party/nixpkgs/pkgs/by-name/ge/geopard/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

58 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";
};
})