mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, itstool
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wrapGAppsHook3
|
|
, gtk3
|
|
, gtksourceview
|
|
, gtkspell3
|
|
, webkitgtk_4_1
|
|
, pandoc
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "marker";
|
|
version = "2023.05.02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fabiocolacio";
|
|
repo = "Marker";
|
|
rev = version;
|
|
fetchSubmodules = true;
|
|
sha256 = "sha256-HhDhigQ6Aqo8R57Yrf1i69sM0feABB9El5R5OpzOyB0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
itstool
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
gtksourceview
|
|
gtkspell3
|
|
webkitgtk_4_1
|
|
pandoc
|
|
];
|
|
|
|
postPatch = ''
|
|
meson rewrite kwargs set project / version '${version}'
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://fabiocolacio.github.io/Marker/";
|
|
description = "Markdown editor for the Linux desktop made with GTK3";
|
|
maintainers = with maintainers; [ trepetti aleksana ];
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
changelog = "https://github.com/fabiocolacio/Marker/releases/tag/${version}";
|
|
mainProgram = "marker";
|
|
};
|
|
}
|