btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / li / libilbm / package.nix
blob2a8ef532dade77d977acba98ff2293e78f2ccaec
2   stdenv,
3   fetchFromGitHub,
4   lib,
5   libiff,
6   autoreconfHook,
7   pkg-config,
8   help2man,
9 }:
11 stdenv.mkDerivation {
12   pname = "libilbm";
13   version = "0-unstable-2024-03-02";
14   src = fetchFromGitHub {
15     owner = "svanderburg";
16     repo = "libilbm";
17     rev = "586f5822275ef5780509a851cb90c7407b2633d9";
18     hash = "sha256-EcsrspL/N40yFE15UFWGienpJHhoq1zd8zZe6x4nK6o=";
19   };
20   buildInputs = [ libiff ];
21   nativeBuildInputs = [
22     autoreconfHook
23     pkg-config
24     help2man
25   ];
26   meta = with lib; {
27     description = "Parser for the ILBM: IFF Interleaved BitMap format";
28     longDescription = ''
29       libilbm is a portable parser library built on top of libiff,
30       for ILBM: IFF Interleaved BitMap format, which is used by programs
31       such as Deluxe Paint and Graphicraft to read and write images.
32     '';
33     homepage = "https://github.com/svanderburg/libilbm";
34     changelog = "https://github.com/svanderburg/libilbm/blob/master/ChangeLog";
35     maintainers = with maintainers; [ _414owen ];
36     platforms = platforms.all;
37     license = licenses.mit;
38   };