2019-11-27 14:12:36 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pantheon
|
2021-01-19 07:50:56 +01:00
|
|
|
, pkg-config
|
2019-11-27 14:12:36 +01:00
|
|
|
, python3
|
|
|
|
, vala
|
|
|
|
, vala-lint
|
|
|
|
, wrapGAppsHook
|
|
|
|
, cairo
|
|
|
|
, glib
|
2021-08-05 15:36:26 +02:00
|
|
|
, goocanvas3
|
2019-11-27 14:12:36 +01:00
|
|
|
, gtk3
|
|
|
|
, gtksourceview3
|
|
|
|
, json-glib
|
|
|
|
, libarchive
|
|
|
|
, libgee
|
2021-08-05 15:36:26 +02:00
|
|
|
, libxml2
|
|
|
|
}:
|
2019-11-27 14:12:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "akira";
|
2021-08-20 17:15:27 +02:00
|
|
|
version = "0.0.16";
|
2019-11-27 14:12:36 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "akiraux";
|
|
|
|
repo = "Akira";
|
2020-09-14 23:13:38 +02:00
|
|
|
rev = "v${version}";
|
2021-08-20 17:15:27 +02:00
|
|
|
sha256 = "sha256-qrqmSCwA0kQVFD1gzutks9gMr7My7nw/KJs/VPisa0w=";
|
2019-11-27 14:12:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 07:50:56 +01:00
|
|
|
pkg-config
|
2019-11-27 14:12:36 +01:00
|
|
|
python3
|
|
|
|
vala
|
|
|
|
vala-lint
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
glib
|
2021-08-05 15:36:26 +02:00
|
|
|
goocanvas3
|
2019-11-27 14:12:36 +01:00
|
|
|
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 = with lib; {
|
|
|
|
description = "Native Linux Design application built in Vala and GTK";
|
|
|
|
homepage = "https://github.com/akiraux/Akira";
|
2021-08-05 15:36:26 +02:00
|
|
|
license = licenses.gpl3Plus;
|
2021-09-18 17:00:51 +02:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne neonfuz ] ++ teams.pantheon.members;
|
2019-11-27 14:12:36 +01:00
|
|
|
platforms = platforms.linux;
|
2021-11-03 11:27:38 +01:00
|
|
|
mainProgram = "com.github.akiraux.akira";
|
2019-11-27 14:12:36 +01:00
|
|
|
};
|
|
|
|
}
|