;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ludovic Courtès ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2018 Julien Lepiller ;;; Copyright © 2018, 2019 Rutger Helling ;;; Copyright © 2019 Vagrant Cascadian ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/system/pam.scm')
0 files changed, 0 insertions, 0 deletions
(("def test_libmix_differences.libmix_differences.:") "def skip_test_libmix_differences(libmix_differences):")) #t)) (add-after 'unpack 'embed-tool-references (lambda* (#:key inputs #:allow-other-keys) (substitute* "diffoscope/comparators/utils/compare.py" (("\\['xxd',") (string-append "['" (which "xxd") "',"))) (substitute* "diffoscope/comparators/elf.py" (("@tool_required\\('readelf'\\)") "") (("get_tool_name\\('readelf'\\)") (string-append "'" (which "readelf") "'"))) (substitute* "diffoscope/comparators/directory.py" (("@tool_required\\('stat'\\)") "") (("@tool_required\\('getfacl'\\)") "") (("\\['stat',") (string-append "['" (which "stat") "',")) (("\\['getfacl',") (string-append "['" (which "getfacl") "',"))) #t)) (add-after 'build 'build-man-page (lambda* (#:key (make-flags '()) #:allow-other-keys) (apply invoke "make" "-C" "doc" make-flags))) (add-before 'check 'writable-test-data (lambda _ ;; Tests may need write access to tests directory. (for-each make-file-writable (find-files "tests")) #t)) (add-before 'check 'delete-failing-test (lambda _ ;; This requires /sbin to be in $PATH. (delete-file "tests/test_tools.py") #t)) (add-after 'install 'install-man-page (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (man (string-append out "/share/man/man1"))) (install-file "doc/diffoscope.1" man) #t)))))) (inputs `(("rpm" ,rpm) ;for rpm-python ("python-file" ,python-file) ("python-debian" ,python-debian) ("python-libarchive-c" ,python-libarchive-c) ("python-tlsh" ,python-tlsh) ("acl" ,acl) ;for getfacl ("colordiff" ,colordiff) ("xxd" ,xxd))) (native-inputs `(("help2man" ,help2man) ;; Below are modules used for tests. ("python-pytest" ,python-pytest) ("python-chardet" ,python-chardet) ("python-binwalk" ,python-binwalk) ("python-h5py" ,python-h5py) ("python-pypdf2" ,python-pypdf2) ("python-progressbar33" ,python-progressbar33) ;; The test suite skips tests when these are missing. ,@(match (%current-system) ;; ghc is only available on x86 currently. ((or "x86_64-linux" "i686-linux") `(("ghc" ,ghc))) (_ `())) ,@(match (%current-system) ;; openjdk and dependent packages are only ;; available on x86_64 currently. ((or "x86_64-linux") `(("enjarify" ,enjarify) ;; no unversioned openjdk available ("openjdk:jdk" ,openjdk12 "jdk"))) (_ `())) ("abootimg" ,abootimg) ("bdb" ,bdb) ("binutils" ,binutils) ("bzip2" ,bzip2) ("cdrtools" ,cdrtools) ("colord" ,colord) ("cpio" ,cpio) ("docx2txt" ,docx2txt) ("dtc" ,dtc) ("e2fsprogs" ,e2fsprogs) ("ffmpeg" ,ffmpeg) ("gettext" ,gettext-minimal) ("ghostscript" ,ghostscript) ("giflib:bin" ,giflib "bin") ("gnumeric" ,gnumeric) ("gnupg" ,gnupg) ("hdf5" ,hdf5) ("imagemagick" ,imagemagick) ("libarchive" ,libarchive) ("llvm" ,llvm) ("lz4" ,lz4) ("mono" ,mono) ("ocaml" ,ocaml) ("odt2txt" ,odt2txt) ("openssh" ,openssh) ("openssl" ,openssl) ("pgpdump" ,pgpdump) ("poppler" ,poppler) ("python-jsbeautifier" ,python-jsbeautifier) ("r-minimal" ,r-minimal) ("rpm" ,rpm) ("sng" ,sng) ("sqlite" ,sqlite) ("squashfs-tools" ,squashfs-tools) ("tcpdump" ,tcpdump) ("unzip" ,unzip) ("wabt" ,wabt) ("xxd" ,xxd) ("xz" ,xz) ("zip" ,zip) ("zstd" ,zstd))) (home-page "https://diffoscope.org/") (synopsis "Compare files, archives, and directories in depth") (description "Diffoscope tries to get to the bottom of what makes files or directories different. It recursively unpacks archives of many kinds and transforms various binary formats into more human readable forms to compare them. It can compare two tarballs, ISO images, or PDFs just as easily. Diffoscope has many optional dependencies; @code{diffoscope --list-missing-tools guix} will display optional packages to install.") (license license:gpl3+))) (define-public reprotest (package (name "reprotest") (version "0.7.14") (source (origin (method git-fetch) (uri (git-reference (url "https://salsa.debian.org/reproducible-builds/reprotest.git") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "12d07xq5zx5dfbsgakm6zcn7hgf0h9f5kvfjqkiyak4ix5aa6xkf")))) (inputs `(("python-debian" ,python-debian) ("python-distro" ,python-distro) ("python-libarchive-c" ,python-libarchive-c) ("python-rstr" ,python-rstr))) (native-inputs `(("diffoscope" ,diffoscope) ("help2man" ,help2man) ("libfaketime" ,libfaketime) ("python-coverage" ,python-coverage) ("python-docutils" ,python-docutils) ("python-pytest " ,python-pytest) ("python-tlsh" ,python-tlsh) ("python-tox" ,python-tox) ("unzip" ,unzip) ("xxd" ,xxd))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases ;; Neither glibc-locales nor glibc-utf8-locales have the C.UTF-8 ;; locale or several other locales used in reprotest. (add-after 'unpack 'adjust-locales (lambda _ (substitute* "reprotest/build.py" (("'C.UTF-8'") "'en_US.UTF-8'") (("'ru_RU.CP1251'") "'ru_RU.KOI8-R'") (("'kk_KZ.RK1048'") "'kk_KZ'")) (substitute* "reprotest/lib/adt_testbed.py" (("export LANG=C.UTF-8") "export LANG=en_US.UTF-8")) #t)) (add-after 'install 'install-doc (lambda* (#:key outputs #:allow-other-keys) (let* ((mandir1 (string-append (assoc-ref outputs "out") "/share/man/man1")) (docdir (string-append (assoc-ref outputs "out") "/share/doc/" ,name "-" ,version))) (invoke "make" "-C" "doc") (mkdir-p mandir1) (install-file "doc/reprotest.1" mandir1) (mkdir-p docdir) (install-file "./README.rst" docdir) (install-file "./README-dev.rst" docdir)) #t))))) (home-page "https://salsa.debian.org/reproducible-builds/reprotest") (synopsis "Build software and check it for reproducibility") (description "Reprotest builds the same source code twice in different environments, and then checks the binaries produced by each build for differences. If any are found, then diffoscope or diff is used to display them in detail for later analysis.") (license (list license:gpl3+ license:gpl2+)))) (define-public trydiffoscope (package (name "trydiffoscope") (version "67.0.1") (source (origin (method git-fetch) (uri (git-reference (url "https://salsa.debian.org/reproducible-builds/trydiffoscope.git") (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") "/share/"))) (mkdir-p (string-append share "/man/man1/" )) (invoke "rst2man.py" "trydiffoscope.1.rst" (string-append share "/man/man1/trydiffoscope.1")) (mkdir-p (string-append share "/doc/" ,name "-" ,version)) (install-file "./README.rst" (string-append share "/doc/" ,name "-" ,version))) #t))))) (propagated-inputs `(("python-requests" ,python-requests))) (native-inputs `(("gzip" ,gzip) ("python-docutils" ,python-docutils))) (build-system python-build-system) (home-page "https://try.diffoscope.org") (synopsis "Client for remote diffoscope service") (description "This is a client for the @url{https://try.diffoscope.org, remote diffoscope service}. Diffoscope tries to get to the bottom of what makes files or directories different. It recursively unpacks archives of many kinds and transforms various binary formats into more human readable forms to compare them. It can compare two tarballs, ISO images, or PDFs just as easily. Results are displayed by default, stored as local text or html files, or made available via a URL on @url{https://try.diffoscope.org}. Results stored on the server are purged after 30 days.") (license license:gpl3+)))