mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
de67e92288
* gnu/packages/admin.scm: Update URLs pointing to sourceforge.net. * gnu/packages/audacity.scm: Likewise. * gnu/packages/audio.scm: Likewise. * gnu/packages/bioinformatics.scm: Likewise. * gnu/packages/boost.scm: Likewise. * gnu/packages/cdrom.scm: Likewise. * gnu/packages/code.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/cups.scm: Likewise. * gnu/packages/djvu.scm: Likewise. * gnu/packages/docbook.scm: Likewise. * gnu/packages/documentation.scm: Likewise. * gnu/packages/flashing-tools.scm: Likewise. * gnu/packages/fonts.scm: Likewise. * gnu/packages/fontutils.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/ghostscript.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnucash.scm: Likewise. * gnu/packages/graphviz.scm: Likewise. * gnu/packages/image.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/libusb.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lirc.scm: Likewise. * gnu/packages/maths.scm: Likewise. * gnu/packages/mcrypt.scm: Likewise. * gnu/packages/mp3.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/onc-rpc.scm: Likewise. * gnu/packages/password-utils.scm: Likewise. * gnu/packages/pdf.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/photo.scm: Likewise. * gnu/packages/popt.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/rdesktop.scm: Likewise. * gnu/packages/screen.scm: Likewise. * gnu/packages/swig.scm: Likewise. * gnu/packages/tcl.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/w3m.scm: Likewise. * gnu/packages/web.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise.
150 lines
6 KiB
Scheme
150 lines
6 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2013, 2014, 2016 Ludovic Courtès <ludo@gnu.org>
|
|
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
|
;;;
|
|
;;; 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 popt)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix download)
|
|
#:use-module (guix git-download)
|
|
#:use-module (guix build-system gnu)
|
|
#:use-module (guix build-system cmake)
|
|
#:use-module (guix licenses))
|
|
|
|
(define-public argtable
|
|
(package
|
|
(name "argtable")
|
|
(version "2.13")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri (string-append
|
|
"mirror://sourceforge/argtable/argtable/"
|
|
"argtable-" version "/argtable"
|
|
(string-join (string-split version #\.) "-")
|
|
".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1gyxf4bh9jp5gb3l6g5qy90zzcf3vcpk0irgwbv1lc6mrskyhxwg"))))
|
|
(build-system gnu-build-system)
|
|
(home-page "http://argtable.sourceforge.net/")
|
|
(synopsis "Command line option parsing library")
|
|
(description
|
|
"Argtable is an ANSI C library for parsing GNU style command line
|
|
options. It enables a program's command line syntax to be defined in the
|
|
source code as an array of argtable structs. The command line is then parsed
|
|
according to that specification and the resulting values are returned in those
|
|
same structs where they are accessible to the main program. Both tagged (-v,
|
|
--verbose, --foo=bar) and untagged arguments are supported, as are multiple
|
|
instances of each argument. Syntax error handling is automatic and the library
|
|
also provides the means for generating a textual description of the command
|
|
line syntax.")
|
|
(license lgpl2.0+)))
|
|
|
|
(define-public popt
|
|
(package
|
|
(name "popt")
|
|
(version "1.16")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri (string-append "http://rpm5.org/files/popt/popt-"
|
|
version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77"))))
|
|
(build-system gnu-build-system)
|
|
(arguments
|
|
'(#:phases (alist-cons-before
|
|
'configure 'patch-test
|
|
(lambda _
|
|
(substitute* "test-poptrc.in"
|
|
(("/bin/echo") (which "echo")))
|
|
(substitute* "testit.sh" ; don't expect old libtool names
|
|
(("lt-test1") "test1")))
|
|
%standard-phases)))
|
|
(home-page "http://rpm5.org/files/popt/")
|
|
(synopsis "Command line option parsing library")
|
|
(description
|
|
"This is the popt(3) command line option parsing library. While it is
|
|
similar to getopt(3), it contains a number of enhancements, including:
|
|
|
|
- popt is fully reentrant;
|
|
|
|
- popt can parse arbitrary argv[] style arrays while getopt(3) makes this
|
|
quite difficult;
|
|
|
|
- popt allows users to alias command line arguments;
|
|
|
|
- popt provides convience functions for parsing strings into argv[] style
|
|
arrays.")
|
|
(license x11)))
|
|
|
|
(define-public gflags
|
|
(package
|
|
(name "gflags")
|
|
(version "2.1.2")
|
|
(source (origin
|
|
(method git-fetch)
|
|
(uri (git-reference
|
|
(commit (string-append "v" version))
|
|
(url "https://github.com/gflags/gflags.git")))
|
|
(sha256
|
|
(base32
|
|
"0qxvr9cyxq3px60jglkm94pq5bil8dkjjdb99l3ypqcds7iypx9w"))
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
(build-system cmake-build-system)
|
|
(arguments
|
|
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"
|
|
"-DBUILD_TESTING=ON")))
|
|
(home-page "https://gflags.github.io/gflags/")
|
|
(synopsis "C++ library for command-line argument parsing")
|
|
(description
|
|
"Gflags is a C++ library to parse command-line flags. It differs from
|
|
other such libraries in that command-line flag definitions can be scattered
|
|
around the source code, and not just listed in one place such as @code{main}.
|
|
This means that a single source-code file will define and use flags that are
|
|
meaningful to that file. Any application that links in that file will get the
|
|
flags, and the gflags library will automatically handle that flag
|
|
appropriately.")
|
|
(license bsd-3)))
|
|
|
|
(define-public gengetopt
|
|
(package
|
|
(name "gengetopt")
|
|
(version "2.22.6")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append "mirror://gnu/gengetopt/gengetopt-"
|
|
version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1xq1kcfs6hri101ss4dhym0jn96z4v6jdvx288mfywadc245mc1h"))))
|
|
(build-system gnu-build-system)
|
|
(arguments
|
|
`(#:parallel-build? #f)) ; not supported
|
|
(synopsis "Create parsers for command line options")
|
|
(description
|
|
"GNU Gengetopt is a program to generate a C/C++ function for parsing
|
|
command-line options using the getopt_long function found in GNU
|
|
libc, removing some of the tedium of this task for large programs
|
|
that accept many options. The options parsed by the generated
|
|
function may be in both short (e.g., \"-h\") and long (\"--help\")
|
|
formats, as specified by the GNU coding standards. Additionally, the
|
|
output of the standard options \"--help\" and \"--version\" is generated
|
|
automatically.")
|
|
(home-page "http://www.gnu.org/software/gengetopt/gengetopt.html")
|
|
(license gpl3+)))
|