ilmbase, openexr: 2.2.1 -> 2.3.0

This commit is contained in:
Eelco Dolstra 2018-08-16 11:52:46 +02:00
parent 8ea7ad67fd
commit beaa0984c6
2 changed files with 10 additions and 6 deletions

View File

@ -1,16 +1,18 @@
{ stdenv, fetchurl, automake, autoconf, libtool, which }:
stdenv.mkDerivation rec {
name = "ilmbase-2.2.1";
name = "ilmbase-${version}";
version = "2.3.0";
src = fetchurl {
url = "http://download.savannah.nongnu.org/releases/openexr/${name}.tar.gz";
sha256 = "17k0hq19wplx9s029kjrq6c51x2ryrfmaavcappkd0g67gk0dhna";
url = "https://github.com/openexr/openexr/releases/download/v${version}/${name}.tar.gz";
sha256 = "0qiq5bqq9rxhqjiym2k36sx4vq8adgrz6xf6qwizi9bqm78phsa5";
};
outputs = [ "out" "dev" ];
preConfigure = ''
patchShebangs ./bootstrap
./bootstrap
'';

View File

@ -1,11 +1,12 @@
{ lib, stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, zlib, ilmbase }:
stdenv.mkDerivation rec {
name = "openexr-${lib.getVersion ilmbase}";
name = "openexr-${version}";
version = lib.getVersion ilmbase;
src = fetchurl {
url = "http://download.savannah.nongnu.org/releases/openexr/${name}.tar.gz";
sha256 = "1kdf2gqznsdinbd5vcmqnif442nyhdf9l7ckc51410qm2gv5m6lg";
url = "https://github.com/openexr/openexr/releases/download/v${version}/${name}.tar.gz";
sha256 = "19jywbs9qjvsbkvlvzayzi81s976k53wg53vw4xj66lcgylb6v7x";
};
patches = [
@ -15,6 +16,7 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "dev" "out" "doc" ];
preConfigure = ''
patchShebangs ./bootstrap
./bootstrap
'';