1 { lib, stdenv, fetchFromGitHub, pkg-config, glib, Carbon, AppKit }:
3 stdenv.mkDerivation rec {
7 outputs = [ "out" "dev" ];
9 src = fetchFromGitHub {
10 owner = "carlobaldassi";
13 sha256 = "10mrl5k3l2hxjhz4w93n50xwywp6y890rw2vsjcgai8627x5f1df";
16 nativeBuildInputs = [ pkg-config ];
17 buildInputs = lib.optionals stdenv.isDarwin [ Carbon AppKit ];
18 propagatedBuildInputs = [ glib ];
21 homepage = "http://liblqr.wikidot.com";
22 description = "Seam-carving C/C++ library called Liquid Rescaling";
23 platforms = platforms.all;
24 license = with licenses; [ gpl3 lgpl3 ];