From 2b730c8d5c26d85ecd6678f83d425830681d77c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Mon, 28 Mar 2022 12:54:40 -0600 Subject: [PATCH] =?UTF-8?q?enblend-enfuse:=204.2=20=E2=86=92=20unstable-20?= =?UTF-8?q?22-03-06?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tools/graphics/enblend-enfuse/default.nix | 33 +++++++++++++------ 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/graphics/enblend-enfuse/default.nix b/pkgs/tools/graphics/enblend-enfuse/default.nix index 5ca9704eee31..5b3431a919fc 100644 --- a/pkgs/tools/graphics/enblend-enfuse/default.nix +++ b/pkgs/tools/graphics/enblend-enfuse/default.nix @@ -1,26 +1,39 @@ -{ lib, stdenv, fetchurl -, boost, freeglut, glew, gsl, lcms2, libpng, libtiff, libGLU, libGL, vigra -, help2man, pkg-config, perl, texlive }: +{ lib, stdenv, fetchzip +, autoreconfHook +, boost +, freeglut +, glew +, gsl +, lcms2 +, libpng +, libtiff +, libGLU +, libGL +, vigra +, help2man +, pkg-config +, perl +, texlive +}: stdenv.mkDerivation rec { pname = "enblend-enfuse"; - version = "4.2"; + version = "unstable-2022-03-06"; - src = fetchurl { - url = "mirror://sourceforge/enblend/${pname}-${version}.tar.gz"; - sha256 = "0j5x011ilalb47ssah50ag0a4phgh1b0wdgxdbbp1gcyjcjf60w7"; + src = fetchzip { + url = "https://sourceforge.net/code-snapshots/hg/e/en/enblend/code/enblend-code-0f423c72e51872698fe2985ca3bd453961ffe4e0.zip"; + sha256 = "sha256-0gCUSdg3HR3YeIbOByEBCZh2zGlYur6DeCOzUM53fdc="; + stripRoot = true; }; buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff libGLU libGL vigra ]; - nativeBuildInputs = [ help2man perl pkg-config texlive.combined.scheme-small ]; + nativeBuildInputs = [ autoreconfHook help2man perl pkg-config texlive.combined.scheme-small ]; preConfigure = '' patchShebangs src/embrace ''; - enableParallelBuilding = true; - meta = with lib; { homepage = "http://enblend.sourceforge.net/"; description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";