2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2021-01-17 03:09:27 +01:00
|
|
|
, pkg-config, meson, ninja, python3
|
2019-06-05 02:03:39 +02:00
|
|
|
, wrapGAppsHook, vala, shared-mime-info
|
|
|
|
, cairo, pantheon, glib, gtk3, libxml2, libgee, libarchive
|
2020-01-01 08:22:52 +01:00
|
|
|
, discount, gtksourceview3
|
2019-09-14 05:49:03 +02:00
|
|
|
, hicolor-icon-theme # for setup-hook
|
2019-06-05 02:03:39 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "minder";
|
2020-10-25 22:09:36 +01:00
|
|
|
version = "1.11.3";
|
2019-06-05 02:03:39 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phase1geo";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-10-25 22:09:36 +01:00
|
|
|
sha256 = "137kyf82n5a2v0cm9q02rhv8rmbjgnj60h64prq90h0d42prj3gd";
|
2019-06-05 02:03:39 +02:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja python3 wrapGAppsHook vala shared-mime-info ];
|
2020-01-01 08:22:52 +01:00
|
|
|
buildInputs = [ cairo pantheon.granite glib gtk3 libxml2 libgee libarchive hicolor-icon-theme discount gtksourceview3 ];
|
2019-06-05 02:03:39 +02:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2019-09-14 05:49:03 +02:00
|
|
|
postFixup = ''
|
|
|
|
for x in $out/bin/*; do
|
|
|
|
ln -vrs $x "$out/bin/''${x##*.}"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-06-05 02:03:39 +02:00
|
|
|
description = "Mind-mapping application for Elementary OS";
|
|
|
|
homepage = "https://github.com/phase1geo/Minder";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|