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.

Revisions

  1. Adam Gamble revised this gist Oct 16, 2015. No changes.
  2. Adam Gamble created this gist Oct 16, 2015.
    8 changes: 8 additions & 0 deletions builder.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    source $stdenv/setup

    tar xvfz $src
    cd vips*

    ./configure --prefix=$out
    make
    make install
    11 changes: 11 additions & 0 deletions default.nix
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    { 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";
    };
    }