mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
72 lines
1.2 KiB
Nix
72 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, vala
|
|
, pkg-config
|
|
, wrapGAppsHook3
|
|
, 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
|
|
wrapGAppsHook3
|
|
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; [ aleksana ];
|
|
};
|
|
}
|