mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
78 lines
1.3 KiB
Nix
78 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromCodeberg,
|
|
nix-update-script,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
rustPlatform,
|
|
cargo,
|
|
rustc,
|
|
wrapGAppsHook4,
|
|
desktop-file-utils,
|
|
appstream,
|
|
gettext,
|
|
glib,
|
|
gtk4,
|
|
libadwaita,
|
|
openssl,
|
|
libgit2,
|
|
zlib,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gitte";
|
|
version = "0.6.1";
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromCodeberg {
|
|
owner = "ckruse";
|
|
repo = "Gitte";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-ieW/oOFdyJWVR/7B62Rzcyii+/zDj/Xp6KCrVOf6mpA=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
|
inherit (finalAttrs) pname version src;
|
|
hash = "sha256-VhcJepTeEjA/ZogqR82Whlyz4NRuI5MLB2HqNjGe8zQ=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
rustPlatform.cargoSetupHook
|
|
cargo
|
|
rustc
|
|
wrapGAppsHook4
|
|
desktop-file-utils
|
|
appstream
|
|
gettext
|
|
glib
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
libadwaita
|
|
openssl
|
|
libgit2
|
|
zlib
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://codeberg.org/ckruse/Gitte";
|
|
mainProgram = "gitte";
|
|
description = "GTK4/libadwaita Git client";
|
|
license = with lib.licenses; [ agpl3Plus ];
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [
|
|
ckruse
|
|
orzklv
|
|
];
|
|
};
|
|
})
|