9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
71 lines
1.2 KiB
Nix
71 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, vala
|
|
, pkg-config
|
|
, wrapGAppsHook
|
|
, desktop-file-utils
|
|
, discount
|
|
, glib
|
|
, gtk3
|
|
, gtksourceview4
|
|
, gtkspell3
|
|
, json-glib
|
|
, libarchive
|
|
, libgee
|
|
, libhandy
|
|
, libsecret
|
|
, libxml2
|
|
, link-grammar
|
|
, webkitgtk_4_1
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "thiefmd";
|
|
version = "0.2.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kmwallio";
|
|
repo = "ThiefMD";
|
|
rev = "v${version}";
|
|
hash = "sha256-noNfGFMeIyKhAgiovJDn91TLELAOQ4nD/5QlQfsKTII=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
vala
|
|
pkg-config
|
|
wrapGAppsHook
|
|
desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [
|
|
discount # libmarkdown
|
|
glib
|
|
gtk3
|
|
gtksourceview4
|
|
gtkspell3
|
|
json-glib
|
|
libarchive
|
|
libgee
|
|
libhandy
|
|
libsecret
|
|
libxml2
|
|
link-grammar
|
|
webkitgtk_4_1
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Markdown & Fountain editor that helps with organization and management";
|
|
homepage = "https://thiefmd.com";
|
|
downloadPage = "https://github.com/kmwallio/ThiefMD";
|
|
mainProgram = "com.github.kmwallio.thiefmd";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ wolfangaukang ];
|
|
};
|
|
}
|