nixpkgs/pkgs/applications/graphics/akira/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

77 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv
, lib
, fetchFromGitHub
, appstream-glib
, desktop-file-utils
, meson
, ninja
, pantheon
, pkg-config
, python3
, vala
, vala-lint
, wrapGAppsHook
, cairo
, glib
2021-08-05 13:36:26 +00:00
, goocanvas3
, gtk3
, gtksourceview3
, json-glib
, libarchive
, libgee
2021-08-05 13:36:26 +00:00
, libxml2
}:
stdenv.mkDerivation rec {
pname = "akira";
2021-08-20 15:15:27 +00:00
version = "0.0.16";
src = fetchFromGitHub {
owner = "akiraux";
repo = "Akira";
2020-09-14 21:13:38 +00:00
rev = "v${version}";
2021-08-20 15:15:27 +00:00
sha256 = "sha256-qrqmSCwA0kQVFD1gzutks9gMr7My7nw/KJs/VPisa0w=";
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
meson
ninja
pkg-config
python3
vala
vala-lint
wrapGAppsHook
];
buildInputs = [
cairo
glib
2021-08-05 13:36:26 +00:00
goocanvas3
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 13:36:26 +00:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ Br1ght0ne neonfuz ] ++ teams.pantheon.members;
platforms = platforms.linux;
mainProgram = "com.github.akiraux.akira";
};
}