3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/minder/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

2019-06-05 01:03:39 +01:00
{ stdenv, fetchFromGitHub
, pkgconfig, meson, ninja, python3
, wrapGAppsHook, vala, shared-mime-info
, cairo, pantheon, glib, gtk3, libxml2, libgee, libarchive
, discount, gtksourceview3
2019-09-14 04:49:03 +01:00
, hicolor-icon-theme # for setup-hook
2019-06-05 01:03:39 +01:00
}:
stdenv.mkDerivation rec {
pname = "minder";
2020-08-02 07:50:25 +01:00
version = "1.9.1";
2019-06-05 01:03:39 +01:00
src = fetchFromGitHub {
owner = "phase1geo";
repo = pname;
rev = version;
2020-08-02 07:50:25 +01:00
sha256 = "1823nl9hgsa9l04ra1drj3c7r8s5ybx6c06d9ijpwqz191sz2jg2";
2019-06-05 01:03:39 +01:00
};
nativeBuildInputs = [ pkgconfig meson ninja python3 wrapGAppsHook vala shared-mime-info ];
buildInputs = [ cairo pantheon.granite glib gtk3 libxml2 libgee libarchive hicolor-icon-theme discount gtksourceview3 ];
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
'';
2019-06-05 01:03:39 +01:00
meta = with stdenv.lib; {
description = "Mind-mapping application for Elementary OS";
homepage = "https://github.com/phase1geo/Minder";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ dtzWill ];
};
}