Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 23 lines 715 B view raw
1{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, libpng, openjpeg, zlib }: 2 3stdenv.mkDerivation { 4 pname = "libicns"; 5 version = "0.8.1-unstable-2022-04-10"; 6 7 src = fetchgit { 8 name = "libicns"; 9 url = "https://git.code.sf.net/p/icns/code"; 10 rev = "921f972c461c505e5ac981aaddbdfdde97e8bb2b"; 11 hash = "sha256-YeO0rlTujDNmrdJ3DRyl3TORswF2KFKA+wVUxJo8Dno"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 buildInputs = [ libpng openjpeg zlib ]; 16 17 meta = with lib; { 18 description = "Library for manipulation of the Mac OS icns resource format"; 19 homepage = "https://icns.sourceforge.io"; 20 license = with licenses; [ gpl2 lgpl2 lgpl21 ]; 21 platforms = platforms.unix; 22 }; 23}