thiefmd: 0.2.5 -> 0.2.7

zendo 984d7a10 15fded26

+46 -23
+46 -23
pkgs/applications/editors/thiefmd/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, wrapGAppsHook, cmake, desktop-file-utils, glib 2 - , meson, ninja, pkg-config, vala, clutter, discount, gtk3, gtksourceview4, gtkspell3 3 - , libarchive, libgee, libhandy, libsecret, link-grammar, webkitgtk }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , vala 7 + , pkg-config 8 + , wrapGAppsHook 9 + , desktop-file-utils 10 + , discount 11 + , glib 12 + , gtk3 13 + , gtksourceview4 14 + , gtkspell3 15 + , json-glib 16 + , libarchive 17 + , libgee 18 + , libhandy 19 + , libsecret 20 + , libxml2 21 + , link-grammar 22 + , webkitgtk_4_1 23 + }: 4 24 5 25 stdenv.mkDerivation rec { 6 26 pname = "thiefmd"; 7 - version = "0.2.5-stability"; 27 + version = "0.2.7"; 8 28 9 29 src = fetchFromGitHub { 10 30 owner = "kmwallio"; 11 31 repo = "ThiefMD"; 12 32 rev = "v${version}"; 13 - sha256 = "sha256-cUZ7NVGe4e9ZISo9gjWFuDNCyF3rsQtrDX+ureyqtwM="; 33 + hash = "sha256-noNfGFMeIyKhAgiovJDn91TLELAOQ4nD/5QlQfsKTII="; 14 34 fetchSubmodules = true; 15 35 }; 16 36 17 37 nativeBuildInputs = [ 18 - cmake desktop-file-utils glib meson wrapGAppsHook 19 - ninja pkg-config vala 38 + meson 39 + ninja 40 + vala 41 + pkg-config 42 + wrapGAppsHook 43 + desktop-file-utils 20 44 ]; 21 45 22 46 buildInputs = [ 23 - clutter discount gtk3 gtksourceview4 gtkspell3 24 - libarchive libgee libhandy libsecret link-grammar 25 - webkitgtk 47 + discount # libmarkdown 48 + glib 49 + gtk3 50 + gtksourceview4 51 + gtkspell3 52 + json-glib 53 + libarchive 54 + libgee 55 + libhandy 56 + libsecret 57 + libxml2 58 + link-grammar 59 + webkitgtk_4_1 26 60 ]; 27 61 28 - dontUseCmakeConfigure = true; 29 - 30 - postInstall = '' 31 - mv $out/share/applications/com.github.kmwallio.thiefmd.desktop \ 32 - $out/share/applications/thiefmd.desktop 33 - substituteInPlace $out/share/applications/thiefmd.desktop \ 34 - --replace 'Exec=com.github.kmwallio.' Exec=$out/bin/ 35 - 36 - makeWrapper $out/bin/com.github.kmwallio.thiefmd \ 37 - $out/bin/thiefmd \ 38 - --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" 39 - ''; 40 - 41 62 meta = with lib; { 42 63 description = "Markdown & Fountain editor that helps with organization and management"; 43 64 homepage = "https://thiefmd.com"; 65 + downloadPage = "https://github.com/kmwallio/ThiefMD"; 66 + mainProgram = "com.github.kmwallio.thiefmd"; 44 67 license = licenses.gpl3Only; 45 68 platforms = platforms.linux; 46 69 maintainers = with maintainers; [ wolfangaukang ];