nixpkgs/pkgs/applications/editors/marker/default.nix

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

58 lines
1.1 KiB
Nix
Raw Normal View History

2022-04-05 04:37:21 +00:00
{ stdenv
, lib
2020-10-15 22:25:19 +00:00
, fetchFromGitHub
2022-04-05 04:37:21 +00:00
, itstool
2020-10-15 22:25:19 +00:00
, meson
, ninja
, pkg-config
, wrapGAppsHook
, gtk3
, gtksourceview
, gtkspell3
2023-06-17 20:24:02 +00:00
, webkitgtk_4_1
2020-10-15 22:25:19 +00:00
, pandoc
}:
stdenv.mkDerivation rec {
pname = "marker";
2023-06-17 20:24:02 +00:00
version = "2023.05.02";
2020-10-15 22:25:19 +00:00
src = fetchFromGitHub {
owner = "fabiocolacio";
repo = "Marker";
rev = version;
2020-10-15 22:25:19 +00:00
fetchSubmodules = true;
2023-06-17 20:24:02 +00:00
sha256 = "sha256-HhDhigQ6Aqo8R57Yrf1i69sM0feABB9El5R5OpzOyB0=";
2020-10-15 22:25:19 +00:00
};
nativeBuildInputs = [
2022-04-05 04:37:21 +00:00
itstool
2020-10-15 22:25:19 +00:00
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
gtk3
gtksourceview
gtkspell3
2023-06-17 20:24:02 +00:00
webkitgtk_4_1
2020-10-15 22:25:19 +00:00
pandoc
];
2023-06-17 20:24:02 +00:00
postPatch = ''
meson rewrite kwargs set project / version '${version}'
'';
meta = with lib; {
2020-10-15 22:25:19 +00:00
homepage = "https://fabiocolacio.github.io/Marker/";
2023-06-17 20:24:02 +00:00
description = "Markdown editor for the Linux desktop made with GTK3";
2023-06-17 20:24:26 +00:00
maintainers = with maintainers; [ trepetti aleksana ];
2020-10-15 22:25:19 +00:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
changelog = "https://github.com/fabiocolacio/Marker/releases/tag/${version}";
2023-11-27 01:17:53 +00:00
mainProgram = "marker";
2020-10-15 22:25:19 +00:00
};
}