;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2017 Ludovic Courtès ;;; ;;; 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 . (define-module (gnu packages gperf) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) (define-public gperf (package (name "gperf") (version "3.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gperf/gperf-" version ".tar.gz")) (sha256 (base32 "1qispg6i508rq8pkajh26cznwimbnj06wq9sd85vg95v8nwld1aq")))) (build-system gnu-build-system) (arguments '(#:parallel-tests? #f)) (home-page "https://www.gnu.org/software/gperf/") (synopsis "Perfect hash function generator") (description "gperf is a perfect hash function generator. For a given list of strings, it produces a hash function and hash table in C or C++ code. That the hash function is perfect means that no collisions can exist and that look-ups can be made by single string comparisons.") (license gpl3+))) (define-public gperf-3.0 ;; This older version would use 'unsigned int' in its generated lookup ;; functions whereas 3.1 uses 'size_t', which causes breakage such as ;; . (package (inherit gperf) (version "3.0.4") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gperf/gperf-" version ".tar.gz")) (sha256 (base32 "0gnnm8iqcl52m8iha3sxrzrl9mcyhg7lfrhhqgdn4zj00ji14wbn")))))) 'left'>AgeCommit message (Expand)Author 2023-05-06lint: archival: Warn against non-origin package sources....Ludovic Courtès 2022-10-27gnu: python-setuptools: Move to python-build....Lars-Dominik Braun 2022-10-17lint: source: Add check for <svn-reference> over HTTP(S)....Ludovic Courtès 2022-03-29download: Use https for main KDE source....Efraim Flashner 2022-03-11lint: check-tests-true: Allow #:tests? #t for some build systems....Maxime Devos 2021-12-17lint: Adjust patch file length check....Vagrant Cascadian 2021-11-08Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner 2021-11-06tests: Avoid literal strings for invalid Texinfo markup....Ludovic Courtès 2021-10-31Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner 2021-10-24lint: Add description check for common typos....Vagrant Cascadian 2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe 2021-10-02import: stackage: Use 'define-json-mapping'....Ludovic Courtès 2021-09-28test: lint: Fix ‘haskell-stackage’ test....Xinglu Chen 2021-07-18Merge branch 'master' into core-updatesLudovic Courtès 2021-07-13lint: Check for leading whitespace in description....Brice Waegeneire 2021-07-11lint: Add 'input-labels' checker....Ludovic Courtès 2021-07-07lint: Lint usages of 'wrap-program' without a "bash" input....Maxime Devos