From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYcIf-0004oC-Vi for guix-patches@gnu.org; Sun, 16 Dec 2018 14:42:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYcIc-00079y-Q2 for guix-patches@gnu.org; Sun, 16 Dec 2018 14:42:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46322) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYcIc-00079f-Lm for guix-patches@gnu.org; Sun, 16 Dec 2018 14:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gYcIc-00040I-F4 for guix-patches@gnu.org; Sun, 16 Dec 2018 14:42:02 -0500 Subject: [bug#33770] [PATCH] gnu: Add nip2. Resent-Message-ID: From: L p R n d n References: Date: Sun, 16 Dec 2018 21:41:53 +0100 In-Reply-To: (GNU bug Tracking System's message of "Sun, 16 Dec 2018 13:45:01 +0000") Message-ID: MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-nip2.patch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33770@debbugs.gnu.org >From e90b425484ed84b87333a168447a7128a53a8434 Mon Sep 17 00:00:00 2001 From: Lprndn Date: Wed, 5 Dec 2018 19:03:13 +0100 Subject: [PATCH] gnu: Add nip2. * gnu/packages/image-processing.scm (nip2): New variable. --- gnu/packages/image-processing.scm | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index df0099c7d..226564885 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -31,9 +31,11 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages compression) #:use-module (gnu packages documentation) + #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) @@ -443,3 +445,47 @@ vision algorithms. It can be used to do things like: (synopsis "A free image processing system") (description "vips is a demand-driven, horizontally threaded image processing library") (license license:lgpl2.1+))) + +(define-public nip2 + (package + (name "nip2") + (version "8.7.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/libvips/nip2/releases/download/v" + version "/nip2-" version ".tar.gz")) + (sha256 + (base32 "08dxfds4n1vxdilxcw01741a2r6fxyhawi656b7f0hy6znnkbsbc")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f)) ;; tests need $HOME/.nip2-8.7.0 + (inputs + `(("vips" ,vips) + ("glib" ,glib) + ("libtiff" ,libtiff) + ("gtk+-2" ,gtk+-2) + ("libxml2" ,libxml2) + ("libexif" ,libexif) + ("librsvg" ,librsvg) + ("fftw" ,fftw) + ("libgsf" ,libgsf) + ("imagemagick" ,imagemagick) + ("orc" ,orc) + ("matio" ,matio) + ("lcms" ,lcms) + ("libwebp" ,libwebp) + ("openexr" ,openexr) + ("poppler" ,poppler) + ("gsl" ,gsl))) + (native-inputs + `(("flex" ,flex) + ("bison" ,bison) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/libvips/nip2") + (synopsis "A spreadsheet-like GUI for libvips") + (description "nip2 is a GUI for the VIPS image processing library. +It's a little like a spreadsheet: you create a set of formula connecting your +objects together, and on a change nip2 recalculates") + (license license:gpl2))) -- 2.19.2