mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
sums: init at 0.11
This commit is contained in:
parent
cb97dfe6c0
commit
519741ae32
46
pkgs/by-name/su/sums/package.nix
Normal file
46
pkgs/by-name/su/sums/package.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
wrapGAppsHook4,
|
||||
desktop-file-utils,
|
||||
libadwaita,
|
||||
mpfr,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sums";
|
||||
version = "0.11";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "leesonwai";
|
||||
repo = "sums";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-D8BkrStS6IwkWy8J7YRHIhyJ68kX4Dky0Vbphn6CsVM=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user