Skip to content

Instantly share code, notes, and snippets.

@gamb
Last active October 16, 2015 09:54
Show Gist options
  • Save gamb/8e13fe55bd21a673c11a to your computer and use it in GitHub Desktop.
Save gamb/8e13fe55bd21a673c11a to your computer and use it in GitHub Desktop.
NixOS package for VIPS (image processing library)
source $stdenv/setup
tar xvfz $src
cd vips*
./configure --prefix=$out
make
make install
{ stdenv, fetchurl, pkgconfig, perl, glib, libxml2, pygobject3, libgsf }:
stdenv.mkDerivation {
name = "vips-8.1.1";
builder = ./builder.sh;
nativeBuildInputs = [ perl pkgconfig glib libxml2 pygobject3 libgsf ];
src = fetchurl {
url = http://www.vips.ecs.soton.ac.uk/supported/current/vips-8.1.1.tar.gz;
sha256 = "7d53c9b1e2ecd87ab9a7ccc9abad8b3a4f2575115b8a2066a15b0c24f17d9a04";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment