mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
25 lines
660 B
Nix
25 lines
660 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, Carbon }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "liblqr-1";
|
|
version = "0.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "carlobaldassi";
|
|
repo = "liblqr";
|
|
rev = "v${version}";
|
|
sha256 = "10mrl5k3l2hxjhz4w93n50xwywp6y890rw2vsjcgai8627x5f1df";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Carbon ];
|
|
propagatedBuildInputs = [ glib ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://liblqr.wikidot.com";
|
|
description = "Seam-carving C/C++ library called Liquid Rescaling";
|
|
platforms = platforms.all;
|
|
license = with licenses; [ gpl3 lgpl3 ];
|
|
};
|
|
}
|