From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:40135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtSY2-0001ty-St for guix-patches@gnu.org; Tue, 12 Feb 2019 02:32:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtSY0-0007GW-QA for guix-patches@gnu.org; Tue, 12 Feb 2019 02:32:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45077) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtSXy-0007Er-K4 for guix-patches@gnu.org; Tue, 12 Feb 2019 02:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gtSXy-0007Bd-Fl for guix-patches@gnu.org; Tue, 12 Feb 2019 02:32:02 -0500 Subject: [bug#34449] [PATCH] gnu: Add trydiffoscope. Resent-Message-ID: Date: Tue, 12 Feb 2019 08:31:28 +0100 In-Reply-To: <87wom53gij.fsf@ponder> References: <87wom53gij.fsf@ponder> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: <70476863-38DA-4DA0-BBA9-82B20B2AB197@lepiller.eu> 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: Vagrant Cascadian , 34449@debbugs.gnu.org Le 12 f=C3=A9vrier 2019 03:08:36 GMT+01:00, Vagrant Cascadian a =C3=A9crit : > >* gnu/packages/package-management (trydiffoscope): New variable=2E >--- > gnu/packages/package-management=2Escm | 44 +++++++++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > >diff --git a/gnu/packages/package-management=2Escm >b/gnu/packages/package-management=2Escm >index 587d028d92=2E=2E49208e3191 100644 >--- a/gnu/packages/package-management=2Escm >+++ b/gnu/packages/package-management=2Escm >@@ -606,6 +606,50 @@ various binary formats into more human readable >forms to compare them=2E It can > compare two tarballs, ISO images, or PDFs just as easily=2E") > (license license:gpl3+))) >=20 >+(define-public trydiffoscope >+ (package >+ (name "trydiffoscope") >+ (version "67=2E0=2E1") >+ (source >+ (origin >+ (method git-fetch) >+ (uri (git-reference >+ (url >"https://salsa=2Edebian=2Eorg/reproducible-builds/trydiffoscope=2Egit") >+ (commit version))) >+ (file-name (git-file-name name version)) >+ (sha256 >+ (base32 >+ "03b66cjii7l2yiwffj6ym6mycd5drx7prfp4j2550281pias6mjh")))) >+ (arguments >+ `(#:phases >+ (modify-phases %standard-phases >+ (add-after 'install 'install-doc >+ (lambda* (#:key outputs #:allow-other-keys) >+ (let* ((share (string-append (assoc-ref outputs "out") >"/usr/share/"))) >+ (mkdir-p (string-append share "/man/man1/" )) >+ (invoke "rst2man=2Epy" >+ "trydiffoscope=2E1=2Erst" >+ (string-append share >"/man/man1/trydiffoscope=2E1")) >+ (mkdir-p (string-append share "/doc/" ,name "-" >,version)) >+ (install-file "=2E/README=2Erst" >+ (string-append share "/doc/" ,name "-" >,version)))))))) >+ (native-inputs >+ `(("gzip" ,gzip) >+ ("python-docutils" ,python-docutils))) >+ (build-system python-build-system) >+ (home-page "https://try=2Ediffoscope=2Eorg") >+ (synopsis "Compare files and archives in depth") >+ (description >+ "This is a minimal diffoscope client that connects to the >service: >+ >+https://try=2Ediffoscope=2Eorg=2E >+ >+Diffoscope tries to get to the bottom of what makes files or >directories >+different=2E It recursively unpacks archives of many kinds and >transforms >+various binary formats into more human readable forms to compare them=2E > It can >+compare two tarballs, ISO images, or PDFs just as easily=2E") >+ (license license:gpl3+))) >+ > (define-public python-anaconda-client > (package > (name "python-anaconda-client") Hi, Iiuc, this is a client to connect to a service that runs diffoscope for yo= u=2E But we already have diffoscope, so what's the point? Also this looks l= ike saass to me, so I think we should refrain from adding it to guix=2E Wha= t do you think?