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

59 lines
1.1 KiB
Nix
Raw Normal View History

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