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
|
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";
|
2021-08-27 14:25:00 +00:00
|
|
|
version = "1.13.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phase1geo";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-08-27 14:25:00 +00:00
|
|
|
sha256 = "07mq595c1vxwsnwkr2zdci0r06yhs75ph2db09mc63k5fjvi8rya";
|
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
|
|
|
|
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;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|