mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
text-engine: init at 0.1.0
This commit is contained in:
parent
51273c235f
commit
a268c6eed0
@ -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
35
pkgs/text-engine.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user