2021-08-27 14:25:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, desktop-file-utils
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, shared-mime-info
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, cairo
|
|
|
|
, discount
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, gtksourceview4
|
2020-04-24 23:36:52 +00:00
|
|
|
, hicolor-icon-theme # for setup-hook
|
2022-01-19 23:45:15 +00:00
|
|
|
, json-glib
|
2021-08-27 14:25:00 +00:00
|
|
|
, libarchive
|
|
|
|
, libgee
|
|
|
|
, libhandy
|
|
|
|
, libxml2
|
|
|
|
, pantheon
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "minder";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "1.16.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phase1geo";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-02-29 20:09:43 +00:00
|
|
|
sha256 = "sha256-YDsWWC4exh+9V87WyjdMdCH1arjBct3oEXbvaFyAaMY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
shared-mime-info
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
discount
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
gtksourceview4
|
|
|
|
hicolor-icon-theme
|
2022-01-19 23:45:15 +00:00
|
|
|
json-glib
|
2021-08-27 14:25:00 +00:00
|
|
|
libarchive
|
|
|
|
libgee
|
|
|
|
libhandy
|
|
|
|
libxml2
|
|
|
|
pantheon.granite
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
for x in $out/bin/*; do
|
|
|
|
ln -vrs $x "$out/bin/''${x##*.}"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-08-27 14:25:00 +00:00
|
|
|
description = "Mind-mapping application for elementary OS";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/phase1geo/Minder";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-08-27 14:25:00 +00:00
|
|
|
maintainers = with maintainers; [ dtzWill ] ++ teams.pantheon.members;
|
2021-12-06 16:07:01 +00:00
|
|
|
mainProgram = "com.github.phase1geo.minder";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|