lol
1{
2 lib,
3 stdenv,
4 fetchgit,
5 autoreconfHook,
6 pkg-config,
7 libpng,
8 openjpeg,
9 zlib,
10}:
11
12stdenv.mkDerivation {
13 pname = "libicns";
14 version = "0.8.1-unstable-2022-04-10";
15
16 src = fetchgit {
17 name = "libicns";
18 url = "https://git.code.sf.net/p/icns/code";
19 rev = "921f972c461c505e5ac981aaddbdfdde97e8bb2b";
20 hash = "sha256-YeO0rlTujDNmrdJ3DRyl3TORswF2KFKA+wVUxJo8Dno";
21 };
22
23 nativeBuildInputs = [
24 autoreconfHook
25 pkg-config
26 ];
27 buildInputs = [
28 libpng
29 openjpeg
30 zlib
31 ];
32
33 meta = with lib; {
34 description = "Library for manipulation of the Mac OS icns resource format";
35 homepage = "https://icns.sourceforge.io";
36 license = with licenses; [
37 gpl2
38 lgpl2
39 lgpl21
40 ];
41 platforms = platforms.unix;
42 };
43}