diff options
author | Bobby Rong <rjl931189261@126.com> | 2024-04-29 21:29:38 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2024-04-29 21:39:32 +0800 |
commit | 2f44e97baf4ef55a606cbf993690835dd57d655e (patch) | |
tree | 8ff40f6a1f37b75e4be6c3d3882b3211178338b3 | |
parent | b04d309442e4092f9824f335e0afb6b758a71a02 (diff) |
libgedit-gfls: init at 0.1.0
https://github.com/gedit-technology/libgedit-gfls/commits/0.1.0/
-rw-r--r-- | pkgs/by-name/li/libgedit-gfls/package.nix | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/by-name/li/libgedit-gfls/package.nix b/pkgs/by-name/li/libgedit-gfls/package.nix new file mode 100644 index 0000000000000..8964898851cf9 --- /dev/null +++ b/pkgs/by-name/li/libgedit-gfls/package.nix @@ -0,0 +1,55 @@ +{ stdenv +, lib +, fetchFromGitHub +, docbook-xsl-nons +, gobject-introspection +, gtk-doc +, meson +, ninja +, pkg-config +, mesonEmulatorHook +, gtk3 +, glib +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "libgedit-gfls"; + version = "0.1.0"; + + outputs = [ "out" "dev" "devdoc" ]; + + src = fetchFromGitHub { + owner = "gedit-technology"; + repo = "libgedit-gfls"; + rev = finalAttrs.version; + hash = "sha256-tES8UGWcCT8lRd/fnOt9EN3wHkNSLRM4j8ONrCDPBK0="; + }; + + nativeBuildInputs = [ + docbook-xsl-nons + gobject-introspection + gtk-doc + meson + ninja + pkg-config + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook + ]; + + buildInputs = [ + gtk3 + ]; + + propagatedBuildInputs = [ + # Required by libgedit-gfls-1.pc + glib + ]; + + meta = { + homepage = "https://github.com/gedit-technology/libgedit-gfls"; + description = "Module dedicated to file loading and saving"; + maintainers = with lib.maintainers; [ bobby285271 ]; + license = lib.licenses.lgpl3Plus; + platforms = lib.platforms.linux; + }; +}) |