2021-08-26 13:20:08 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, desktop-file-utils
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, shared-mime-info
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, cairo
|
|
|
|
, discount
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, gtksourceview4
|
2019-09-14 04:49:03 +01:00
|
|
|
, hicolor-icon-theme # for setup-hook
|
2022-01-18 06:51:59 +00:00
|
|
|
, json-glib
|
2021-08-26 13:20:08 +01:00
|
|
|
, libarchive
|
|
|
|
, libgee
|
|
|
|
, libhandy
|
|
|
|
, libxml2
|
|
|
|
, pantheon
|
2019-06-05 01:03:39 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "minder";
|
2022-01-18 06:51:59 +00:00
|
|
|
version = "1.14.0";
|
2019-06-05 01:03:39 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phase1geo";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-01-18 06:51:59 +00:00
|
|
|
sha256 = "sha256-0x+MMVa9/jOVp9n9JFM1MGndh9H9MzmmHepcez4aT+Q=";
|
2019-06-05 01:03:39 +01:00
|
|
|
};
|
|
|
|
|
2021-08-26 13:20:08 +01: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-18 06:51:59 +00:00
|
|
|
json-glib
|
2021-08-26 13:20:08 +01:00
|
|
|
libarchive
|
|
|
|
libgee
|
|
|
|
libhandy
|
|
|
|
libxml2
|
|
|
|
pantheon.granite
|
|
|
|
];
|
2019-06-05 01:03:39 +01:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2019-09-14 04:49:03 +01:00
|
|
|
postFixup = ''
|
|
|
|
for x in $out/bin/*; do
|
|
|
|
ln -vrs $x "$out/bin/''${x##*.}"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-08-26 13:20:08 +01:00
|
|
|
description = "Mind-mapping application for elementary OS";
|
2019-06-05 01:03:39 +01:00
|
|
|
homepage = "https://github.com/phase1geo/Minder";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-08-26 13:20:08 +01:00
|
|
|
maintainers = with maintainers; [ dtzWill ] ++ teams.pantheon.members;
|
2021-11-03 10:27:38 +00:00
|
|
|
mainProgram = "com.github.phase1geo.minder";
|
2019-06-05 01:03:39 +01:00
|
|
|
};
|
|
|
|
}
|