mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
this shouldn't create any rebuilds I removed the "default" goocanvas because it was stuck on the old and deprecated goocanvas 1. Newer goocanvas versions are incompatible with old ones.
76 lines
1.3 KiB
Nix
76 lines
1.3 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
appstream-glib,
|
|
desktop-file-utils,
|
|
meson,
|
|
ninja,
|
|
pantheon,
|
|
pkg-config,
|
|
python3,
|
|
vala,
|
|
wrapGAppsHook3,
|
|
cairo,
|
|
glib,
|
|
goocanvas_3,
|
|
gtk3,
|
|
gtksourceview3,
|
|
json-glib,
|
|
libarchive,
|
|
libgee,
|
|
libxml2,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "akira";
|
|
version = "0.0.16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "akiraux";
|
|
repo = "Akira";
|
|
tag = "v${version}";
|
|
sha256 = "sha256-qrqmSCwA0kQVFD1gzutks9gMr7My7nw/KJs/VPisa0w=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
appstream-glib
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
python3
|
|
vala
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
glib
|
|
goocanvas_3
|
|
pantheon.granite
|
|
gtk3
|
|
gtksourceview3
|
|
json-glib
|
|
libarchive
|
|
libgee
|
|
libxml2
|
|
];
|
|
|
|
mesonFlags = [ "-Dprofile=default" ];
|
|
|
|
postPatch = ''
|
|
chmod +x build-aux/meson/post_install.py
|
|
patchShebangs build-aux/meson/post_install.py
|
|
'';
|
|
|
|
meta = {
|
|
description = "Native Linux Design application built in Vala and GTK";
|
|
homepage = "https://github.com/akiraux/Akira";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
teams = [ lib.teams.pantheon ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "com.github.akiraux.akira";
|
|
};
|
|
}
|