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;