From 8fd0eefee3d4b4f77e7c43d9622cfc40ba10a98a Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Wed, 1 May 2024 14:43:15 +0200 Subject: [PATCH] libiff: init at 0-unstable-2024-03-02 This is a parser and renderer for the IFF (Interchange File Format). It is used by the gimp 2.99 release candidate. --- pkgs/by-name/li/libiff/package.nix | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/by-name/li/libiff/package.nix diff --git a/pkgs/by-name/li/libiff/package.nix b/pkgs/by-name/li/libiff/package.nix new file mode 100644 index 000000000000..40138dc2d661 --- /dev/null +++ b/pkgs/by-name/li/libiff/package.nix @@ -0,0 +1,34 @@ +{ + stdenv, + fetchFromGitHub, + lib, + autoreconfHook, + help2man, +}: + +stdenv.mkDerivation { + pname = "libiff"; + version = "0-unstable-2024-03-02"; + src = fetchFromGitHub { + owner = "svanderburg"; + repo = "libiff"; + rev = "b5f542a83c824f26e0816770c9a17c22bd388606"; + sha256 = "sha256-Arh3Ihd5TWg5tdemodrxz2EDxh/hwz9b2/AvrTONFy8="; + }; + nativeBuildInputs = [ + autoreconfHook + help2man + ]; + meta = with lib; { + description = "Parser for the Interchange File Format (IFF)"; + longDescription = '' + libiff is a portable, extensible parser library implemented in + ANSI C, for EA-IFF 85: Electronic Arts' Interchange File Format + (IFF). + ''; + homepage = "https://github.com/svanderburg/libiff"; + maintainers = with maintainers; [ _414owen ]; + platforms = platforms.all; + license = licenses.mit; + }; +}