Commit | Line | Data |
---|---|---|
233e7676 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> | |
6e6979c6 | 3 | ;;; |
233e7676 | 4 | ;;; This file is part of GNU Guix. |
6e6979c6 | 5 | ;;; |
233e7676 | 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
6e6979c6 NK |
7 | ;;; under the terms of the GNU General Public License as published by |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
233e7676 | 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
6e6979c6 NK |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
233e7676 | 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
6e6979c6 | 18 | |
1ffa7090 | 19 | (define-module (gnu packages which) |
4a44e743 | 20 | #:use-module (guix licenses) |
6e6979c6 NK |
21 | #:use-module (guix packages) |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system gnu)) | |
24 | ||
25 | (define-public which | |
26 | (package | |
27 | (name "which") | |
28 | (version "2.20") | |
29 | (source | |
30 | (origin | |
31 | (method url-fetch) | |
32 | (uri (string-append "mirror://gnu/which/which-" | |
33 | version ".tar.gz")) | |
34 | (sha256 | |
35 | (base32 | |
36 | "1y2p50zadb36izzh2zw4dm5hvdiydqf3qa88l8kav20dcmfbc5yl")))) | |
37 | (build-system gnu-build-system) | |
38 | (home-page "https://gnu.org/software/which/") | |
f50d2669 | 39 | (synopsis "Find full path of shell commands") |
6e6979c6 | 40 | (description |
79c311b8 LC |
41 | "The which program finds the location of executables in PATH, with a |
42 | variety of options. It is an alternative to the shell \"type\" built-in | |
43 | command.") | |
4a44e743 | 44 | (license gpl3+))) ; some files are under GPLv2+ |