From 19cc1226d42690006eeb8cbd54bf7670f11385be Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Mon, 3 May 2010 03:45:47 +0000 Subject: [PATCH] Add liblqr-1 svn path=/nixpkgs/trunk/; revision=21559 --- .../libraries/liblqr-1/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/liblqr-1/default.nix diff --git a/pkgs/development/libraries/liblqr-1/default.nix b/pkgs/development/libraries/liblqr-1/default.nix new file mode 100644 index 000000000000..c6323fcc84a4 --- /dev/null +++ b/pkgs/development/libraries/liblqr-1/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig, glib }: + +stdenv.mkDerivation rec { + name = "liblqr-1-0.4.1"; + src = fetchurl { + url = "${meta.homepage}/local--files/en:download-page/${name}.tar.bz2"; + sha256 = "02g90wag7xi5rjlmwq8h0qs666b1i2sa90s4303hmym40il33nlz"; + }; + + buildInputs = [ pkgconfig ]; + propagatedBuildInputs = [ glib ]; + configureFlags = "--enable-install-man"; + + meta = with stdenv.lib; { + homepage = http://liblqr.wikidot.com; + description = "Seam-carving C/C++ library called Liquid Rescaling"; + platforms = platforms.all; + maintainers = [ maintainers.urkud ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b4faa7873a44..8acd79fe2a0e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4405,6 +4405,11 @@ let useGTK = getPkgConfig "libiodbc" "gtk" false; }; + liblqr1 = makeOverridable (import ../development/libraries/liblqr-1) { + inherit stdenv fetchurl pkgconfig; + inherit (gnome) glib; + }; + libnice = import ../development/libraries/libnice { inherit stdenv fetchurl pkgconfig; inherit (gnome) glib;