2024-09-09 13:23:41 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitLab,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
pkg-config,
|
|
|
|
wrapGAppsHook4,
|
|
|
|
desktop-file-utils,
|
|
|
|
libadwaita,
|
|
|
|
mpfr,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "sums";
|
2024-12-02 14:22:25 +00:00
|
|
|
version = "0.13";
|
2024-09-09 13:23:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "leesonwai";
|
|
|
|
repo = "sums";
|
|
|
|
rev = "refs/tags/${finalAttrs.version}";
|
2024-12-02 14:22:25 +00:00
|
|
|
hash = "sha256-DztSQcaH/k5EOvsrVA/DdgNSEHtz4Nr938tIhC94Gu8=";
|
2024-09-09 13:23:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook4
|
|
|
|
desktop-file-utils
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libadwaita
|
|
|
|
mpfr
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Simple GTK postfix calculator for GNOME";
|
|
|
|
homepage = "https://gitlab.com/leesonwai/sums";
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
mainProgram = "sums";
|
|
|
|
maintainers = with lib.maintainers; [ aleksana ];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
})
|