Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, lib 3, fetchFromGitHub 4, meson 5, ninja 6, json-glib 7, gtk4 8, libxml2 9, gobject-introspection 10, pkg-config 11, libadwaita 12}: 13 14stdenv.mkDerivation rec { 15 pname = "text-engine"; 16 version = "0.1.1"; 17 src = fetchFromGitHub { 18 owner = "mjakeman"; 19 repo = pname; 20 rev = "v${version}"; 21 sha256 = "sha256-YSG4Vk3hrmtaJkK1WAlQcdgiDdgC4Un0t6UdaoIcUes="; 22 }; 23 24 nativeBuildInputs = [ gobject-introspection gtk4 meson ninja pkg-config ]; 25 26 buildInputs = [ libadwaita json-glib libxml2 ]; 27 28 meta = with lib; { 29 description = "Rich text framework for GTK"; 30 homepage = "https://github.com/mjakeman/text-engine"; 31 license = with licenses; [ mpl20 lgpl21Plus ]; 32 maintainers = with maintainers; [ foo-dogsquared ]; 33 }; 34}