nixpkgs/pkgs/by-name/th/thiefmd/package.nix

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

72 lines
1.2 KiB
Nix
Raw Normal View History

2023-06-04 03:31:52 +00:00
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, vala
, pkg-config
, wrapGAppsHook3
2023-06-04 03:31:52 +00:00
, desktop-file-utils
, discount
, glib
, gtk3
, gtksourceview4
, gtkspell3
, json-glib
, libarchive
, libgee
, libhandy
, libsecret
, libxml2
, link-grammar
, webkitgtk_4_1
}:
2021-10-26 13:17:04 +00:00
stdenv.mkDerivation rec {
pname = "thiefmd";
2023-06-04 03:31:52 +00:00
version = "0.2.7";
2021-10-26 13:17:04 +00:00
src = fetchFromGitHub {
owner = "kmwallio";
repo = "ThiefMD";
2022-05-09 14:20:53 +00:00
rev = "v${version}";
2023-06-04 03:31:52 +00:00
hash = "sha256-noNfGFMeIyKhAgiovJDn91TLELAOQ4nD/5QlQfsKTII=";
2021-10-26 13:17:04 +00:00
fetchSubmodules = true;
};
nativeBuildInputs = [
2023-06-04 03:31:52 +00:00
meson
ninja
vala
pkg-config
wrapGAppsHook3
2023-06-04 03:31:52 +00:00
desktop-file-utils
2021-10-26 13:17:04 +00:00
];
buildInputs = [
2023-06-04 03:31:52 +00:00
discount # libmarkdown
glib
gtk3
gtksourceview4
gtkspell3
json-glib
libarchive
libgee
libhandy
libsecret
libxml2
link-grammar
webkitgtk_4_1
2021-10-26 13:17:04 +00:00
];
meta = with lib; {
description = "Markdown & Fountain editor that helps with organization and management";
homepage = "https://thiefmd.com";
2023-06-04 03:31:52 +00:00
downloadPage = "https://github.com/kmwallio/ThiefMD";
mainProgram = "com.github.kmwallio.thiefmd";
2021-10-26 13:17:04 +00:00
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ aleksana ];
2021-10-26 13:17:04 +00:00
};
}