2021-08-25 05:03:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, Carbon }:
|
2010-05-03 03:45:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-22 13:20:29 +00:00
|
|
|
pname = "liblqr-1";
|
|
|
|
version = "0.4.2";
|
2015-03-27 21:37:45 +00:00
|
|
|
|
2021-06-22 13:20:29 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "carlobaldassi";
|
|
|
|
repo = "liblqr";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "10mrl5k3l2hxjhz4w93n50xwywp6y890rw2vsjcgai8627x5f1df";
|
2010-05-03 03:45:47 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-08-25 05:03:50 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Carbon ];
|
2010-05-03 03:45:47 +00:00
|
|
|
propagatedBuildInputs = [ glib ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://liblqr.wikidot.com";
|
2010-05-03 03:45:47 +00:00
|
|
|
description = "Seam-carving C/C++ library called Liquid Rescaling";
|
|
|
|
platforms = platforms.all;
|
2018-10-18 18:54:39 +00:00
|
|
|
license = with licenses; [ gpl3 lgpl3 ];
|
2010-05-03 03:45:47 +00:00
|
|
|
};
|
|
|
|
}
|