about summary refs log tree commit diff
path: root/pkgs/by-name/li/libilbm/package.nix
blob: 4d145a00021ca433644bf37e14bb2314406b6c8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  stdenv,
  fetchFromGitHub,
  lib,
  libiff,
  autoreconfHook,
  pkg-config,
  help2man,
}:

stdenv.mkDerivation {
  pname = "libilbm";
  version = "0-unstable-2024-03-02";
  src = fetchFromGitHub {
    owner = "svanderburg";
    repo = "libilbm";
    rev = "586f5822275ef5780509a851cb90c7407b2633d9";
    sha256 = "sha256-EcsrspL/N40yFE15UFWGienpJHhoq1zd8zZe6x4nK6o=";
  };
  buildInputs = [ libiff ];
  nativeBuildInputs = [
    autoreconfHook
    pkg-config
    help2man
  ];
  meta = with lib; {
    description = "Parser for the ILBM: IFF Interleaved BitMap format";
    longDescription = ''
      libilbm is a portable parser library built on top of libiff,
      for ILBM: IFF Interleaved BitMap format, which is used by programs
      such as Deluxe Paint and Graphicraft to read and write images.
    '';
    homepage = "https://github.com/svanderburg/libilbm";
    maintainers = with maintainers; [ _414owen ];
    platforms = platforms.all;
    license = licenses.mit;
  };
}