aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/moreutils.scm
blob: 965876b9711fa99fb5e53cb7d96c668012b639eb (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; 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 <http://www.gnu.org/licenses/>.

(define-module (gnu packages moreutils)
  #:use-module ((guix licenses) #:prefix l:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages docbook))

(define-public moreutils
  (package
    (name "moreutils")
    (version "0.59")
    (source
     (origin
       (method url-fetch)
       (uri (list
             (string-append
              "mirror://debian/pool/main/m/moreutils/moreutils_"
              version ".orig.tar.gz")
             ;; The main Debian mirrors only hold the current packages.
             (string-append
              "http://snapshot.debian.org/archive/debian/20161223T212806Z"
              "/pool/main/m/moreutils/moreutils_0.59.orig.tar.gz")))
       (sha256
        (base32
         "1d6ik3j4lwp90vb93p7yv60k6vk2chz448d1z9xrmxvv371i33m4"))))
    (build-system gnu-build-system)
    ;; For building the manual pages.
    (native-inputs
     `(("docbook-xml" ,docbook-xml-4.4)
       ("docbook-xsl" ,docbook-xsl)
       ("libxml2" ,libxml2)
       ("libxslt" ,libxslt)))
    (inputs
     `(("perl" ,perl)))
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (delete 'configure))           ; no configure script
       #:make-flags
       (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
             (string-append "DOCBOOKXSL="
                            (assoc-ref %build-inputs "docbook-xsl") "/xml/xsl/"
                            ,(package-name docbook-xsl) "-"
                            ,(package-version docbook-xsl))
             "CC=gcc")))
    (home-page "https://joeyh.name/code/moreutils/")
    (synopsis "Miscellaneous general-purpose command-line tools")
    (description
     "Moreutils is a collection of general-purpose command-line tools to
augment the traditional Unix toolbox.")
    (license l:gpl2+)))
/td>gnu: ripperX: Update to 2.8.0....Andreas Enge 2015-07-21gnu: libmad: Apply fixes for ARMv7 Thumb, etc....Mark H Weaver 2015-07-18gnu packages: Clean up synopses and descriptions....Alex Kost 2015-06-21gnu: lame: Build with gcc-4.8 on i686....Mark H Weaver 2015-01-07gnu: Make libtool and libltdl completely separate....Ludovic Courtès 2014-11-25gnu: Remove #:select on circular dependency....Ludovic Courtès 2014-11-25gnu: Add TagLib....Ludovic Courtès 2014-11-25gnu: Add mp3info....Ludovic Courtès 2014-10-26gnu: Some cleanup based on lint checkers....Eric Bavier 2014-09-23Use #:prefix instead of #:renamer with 'symbol-prefix-proc'....Mark H Weaver 2014-04-22gnu: Add mpg123....Ludovic Courtès 2014-03-31gnu: Remove unused lambda arguments and prefer separate phases over...Eric Bavier 2014-02-21gnu: mpc123: Add patch that fixes a segfault....Ludovic Courtès 2014-01-23gnu: Rename (gnu packages oggvorbis) to (gnu packages xiph)....Andreas Enge 2014-01-14gnu: Add mpc123....Ludovic Courtès 2013-12-15gnu: Move numerous "inputs" which should be "native-inputs"....John Darrington 2013-11-03gnu: libmad: Fix MIPS assembler code to work with new GCC....Mark H Weaver 2013-10-09gnu: Use the 'patches' field of <origin>....Ludovic Courtès 2013-10-01gnu: Revert inputs from gtk+-3 to gtk+-2....Andreas Enge 2013-08-07gnu: Add ripperX....Andreas Enge 2013-08-07gnu: Add lame....Andreas Enge 2013-06-09gnu: Add mpg321....Ludovic Courtès 2013-05-04gnu: Add id3lib....Andreas Enge 2013-02-06gnu: Add libmp3splt and mp3splt....Andreas Enge 2013-02-04gnu: Add libid3tag....Andreas Enge 2013-02-04gnu: Add libmad....Andreas Enge