2019-11-27 13:12:36 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pantheon
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-11-27 13:12:36 +00:00
|
|
|
, python3
|
|
|
|
, vala
|
|
|
|
, vala-lint
|
|
|
|
, wrapGAppsHook
|
|
|
|
, cairo
|
|
|
|
, glib
|
2021-08-05 14:36:26 +01:00
|
|
|
, goocanvas3
|
2019-11-27 13:12:36 +00:00
|
|
|
, gtk3
|
|
|
|
, gtksourceview3
|
|
|
|
, json-glib
|
|
|
|
, libarchive
|
|
|
|
, libgee
|
2021-08-05 14:36:26 +01:00
|
|
|
, libxml2
|
|
|
|
}:
|
2019-11-27 13:12:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "akira";
|
2021-08-07 12:52:35 +01:00
|
|
|
version = "0.0.15";
|
2019-11-27 13:12:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "akiraux";
|
|
|
|
repo = "Akira";
|
2020-09-14 22:13:38 +01:00
|
|
|
rev = "v${version}";
|
2021-08-07 12:52:35 +01:00
|
|
|
sha256 = "sha256-2GhpxajymLVAl2P6vZ0+nuZK3ZRRktFswWkj7TP8eHI=";
|
2019-11-27 13:12:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-11-27 13:12:36 +00:00
|
|
|
python3
|
|
|
|
vala
|
|
|
|
vala-lint
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
glib
|
2021-08-05 14:36:26 +01:00
|
|
|
goocanvas3
|
2019-11-27 13:12:36 +00: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 14:36:26 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne neonfuz ] ++ pantheon.maintainers;
|
2019-11-27 13:12:36 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|