2023-10-09 19:29:22 +00:00
|
|
|
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, libpng, openjpeg, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
stdenv.mkDerivation {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libicns";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "0.8.1-unstable-2022-04-10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
src = fetchgit {
|
|
|
|
name = "libicns";
|
|
|
|
url = "https://git.code.sf.net/p/icns/code";
|
|
|
|
rev = "921f972c461c505e5ac981aaddbdfdde97e8bb2b";
|
|
|
|
hash = "sha256-YeO0rlTujDNmrdJ3DRyl3TORswF2KFKA+wVUxJo8Dno";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ libpng openjpeg zlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library for manipulation of the Mac OS icns resource format";
|
|
|
|
homepage = "https://icns.sourceforge.io";
|
|
|
|
license = with licenses; [ gpl2 lgpl2 lgpl21 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|