summary refs log tree commit diff
path: root/pkgs/development/libraries/liblqr-1/default.nix
blob: aa6cd0fd57d8582db1514a2f148b036c47d91f0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchFromGitHub, pkg-config, glib }:

stdenv.mkDerivation rec {
  pname = "liblqr-1";
  version = "0.4.2";

  src = fetchFromGitHub {
    owner = "carlobaldassi";
    repo = "liblqr";
    rev = "v${version}";
    sha256 = "10mrl5k3l2hxjhz4w93n50xwywp6y890rw2vsjcgai8627x5f1df";
  };

  nativeBuildInputs = [ pkg-config ];
  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 ];
  };
}