nixpkgs/pkgs/applications/misc/minder/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

83 lines
1.4 KiB
Nix
Raw Normal View History

2021-08-26 12:20:08 +00: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 03:49:03 +00:00
, hicolor-icon-theme # for setup-hook
2022-01-18 06:51:59 +00:00
, json-glib
2021-08-26 12:20:08 +00:00
, libarchive
, libgee
, libhandy
, libxml2
, pantheon
2019-06-05 00:03:39 +00:00
}:
stdenv.mkDerivation rec {
pname = "minder";
2022-01-18 06:51:59 +00:00
version = "1.14.0";
2019-06-05 00:03:39 +00: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 00:03:39 +00:00
};
2021-08-26 12:20:08 +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-18 06:51:59 +00:00
json-glib
2021-08-26 12:20:08 +00:00
libarchive
libgee
libhandy
libxml2
pantheon.granite
];
2019-06-05 00:03:39 +00:00
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
2019-09-14 03:49:03 +00:00
postFixup = ''
for x in $out/bin/*; do
ln -vrs $x "$out/bin/''${x##*.}"
done
'';
meta = with lib; {
2021-08-26 12:20:08 +00:00
description = "Mind-mapping application for elementary OS";
2019-06-05 00:03:39 +00:00
homepage = "https://github.com/phase1geo/Minder";
license = licenses.gpl3Plus;
platforms = platforms.linux;
2021-08-26 12:20:08 +00:00
maintainers = with maintainers; [ dtzWill ] ++ teams.pantheon.members;
mainProgram = "com.github.phase1geo.minder";
2019-06-05 00:03:39 +00:00
};
}