text-engine: init at 0.1.0

This commit is contained in:
Gabriel Arazas 2022-03-27 11:28:56 +08:00
parent 51273c235f
commit a268c6eed0
2 changed files with 36 additions and 0 deletions

View File

@ -39,6 +39,7 @@ let
pop-launcher = callPackage ./pop-launcher.nix { };
pop-launcher-plugin-duckduckgo-bangs =
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
text-engine = callPackage ./text-engine.nix { };
tic-80 = callPackage ./tic-80 { };
segno = libsForQt5.callPackage ./segno.nix { };
sioyek = libsForQt5.callPackage ./sioyek.nix { };

35
pkgs/text-engine.nix Normal file
View File

@ -0,0 +1,35 @@
{ stdenv, lib, fetchFromGitHub, meson, ninja, json-glib, gtk4, libxml2, gobject-introspection, pkg-config, libadwaita }:
stdenv.mkDerivation rec {
pname = "text-engine";
version = "0.1.0";
src = fetchFromGitHub {
owner = "mjakeman";
repo = pname;
rev = "v${version}";
sha256 = "sha256-TVQD5sAJJkcs/w4K5B3e+hvfTcoGXunsceada6k/Hjs=";
};
nativeBuildInputs = [
gobject-introspection
gtk4
meson
ninja
pkg-config
];
buildInputs = [
libadwaita
json-glib
libxml2
];
meta = with lib; {
description = "Rich text framework for GTK";
homepage = "https://github.com/mjakeman/text-engine";
# TODO: Change this, plz.
# Seems to be a modified version of MIT license.
license = licenses.mit;
};
}