aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/file.scm
blob: 5e379d888bf8c9b6f4dd7c158b4ce296109440bb (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
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
;;;
;;; 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 file)
  #:use-module (gnu packages)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public file
  (package
    (name "file")
    (version "5.39")
    (source (origin
              (method url-fetch)
              (uri (string-append "ftp://ftp.astron.com/pub/file/file-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "1lgs2w2sgamzf27kz5h7pajz7v62554q21fbs11n4mfrfrm2hpgh"))))
   (build-system gnu-build-system)

   ;; When cross-compiling, this package depends upon a native install of
   ;; itself.
   (native-inputs (if (%current-target-system)
                      `(("self" ,this-package))
                      '()))

   (properties
    `((release-monitoring-url . "http://ftp.astron.com/pub/file/")))
   (synopsis "File type guesser")
   (description
    "The file command is a file type guesser, a command-line tool that tells
you in words what kind of data a file contains.  It does not rely on filename
extensions to tell you the type of a file, but looks at the actual contents
of the file.  This package provides the libmagic library.")
   (license bsd-2)
   (home-page "https://www.darwinsys.com/file/")))

(define-public file-next
  (package
    (inherit file)
    (version "5.41")
    (source (origin
              (method url-fetch)
              (uri (string-append "http://ftp.astron.com/pub/file/file-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "0gv027jgdr0hdkw7m9ck0nwhq583f4aa7vnz4dzdbxv4ng3k5r8k"))))))
g-avail'>...[arguments]: Use gexps. [tests?]: Add comment. [phases]: Delete trailing #t. {no-custom-css}: Use a regular lambda. {install-kernelspec}: Move after the add-installed-pythonpath phase. Remove now extraneous add-installed-pythonpath call. Adjust for gexps. [native-inputs]: Delete field. [propagated-inputs]: Add python-ipykernel, python-notebook, python-rdflib and pythopython-traitlets. [description]: Avoid '&' in description. Maxim Cournoyer 2022-05-12gnu: python-voila: Update to 0.3.5....* gnu/packages/jupyter.scm (python-voila): Update to 0.3.5. [source]: Use git. [arguments]: New field. [propagated-inputs]: Add python-jupyterlab-server, python-traitlets and python-websockets. [native-inputs]: Remove python-jupyter-packaging and python-setuptools. Add python-numpy and python-pandas. Maxim Cournoyer 2022-05-12gnu: python-jupyter-server: Update to 1.16.0....* gnu/packages/jupyter.scm (python-jupyter-server): Update to 1.16.0. [propagated-inputs]: Remove python-ipython-genutils and python-requests-unixsocket. Maxim Cournoyer 2022-05-12gnu: Add python-jupyterlab-server....* gnu/packages/jupyter.scm (python-jupyterlab-server): New variable. Maxim Cournoyer 2022-05-12gnu: Add python-nbdime....* gnu/packages/jupyter.scm (python-nbdime): New variable. Maxim Cournoyer 2022-05-12gnu: Add python-jupyter-server-mathjax....* gnu/packages/jupyter.scm (python-jupyter-server-mathjax): New variable. Maxim Cournoyer 2022-05-12gnu: python-nbclient: Update to 0.6.0....* gnu/packages/jupyter.scm (python-nbclient): Update to 0.6.0. [tests?]: Update comment. [propagated-inputs]: Remove python-async-generator. [native-inputs]: Delete field. [description]: Fix spacing. Maxim Cournoyer 2022-05-12gnu: python-jupyter-packaging: Update to 0.12.0, run test suite....* gnu/packages/jupyter.scm (python-jupyter-packaging): Update to 0.12.0. [arguments]: New field. Maxim Cournoyer 2022-05-06gnu: Add python-ipydatawidgets....* gnu/packages/jupyter.scm (python-ipydatawidgets): New variable. Ricardo Wurmus 2022-05-06gnu: Add python-ipympl....* gnu/packages/jupyter.scm (python-ipympl): New variable. Ricardo Wurmus 2022-01-12gnu: repo2docker: Update to 2021.08.0....* gnu/packages/jupyter.scm (repo2docker): Update to 2021.08.0. [arguments]: Disable Sphinx warnings, set PYTHONPATH, and refer to THIS-PACKAGE instead of the "name" variable directly. [native-inputs]: Add PYTHON-ENTRYPOINTS. Marius Bakke 2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès 2021-11-20gnu: repo2docker: Use GUIX_PYTHONPATH....* gnu/packages/jupyter.scm (repo2docker)[arguments]: Use GUIX_PYTHONPATH instead of PYTHONPATH. Ricardo Wurmus 2021-08-31gnu: python-jupyter-server: Use older pytest....* gnu/packages/jupyter.scm (python-jupyter-server)[native-inputs]: Replace python-pytest-6 with python-pytest. Ricardo Wurmus 2021-08-30gnu: Add python-voila....* gnu/packages/jupyter.scm (python-voila): New variable. Ricardo Wurmus 2021-08-30gnu: Add python-jupyter-server....* gnu/packages/jupyter.scm (python-jupyter-server): New variable. Ricardo Wurmus 2021-07-21gnu: Add python-sparqlkernel....* gnu/packages/jupyter.scm (python-sparqlkernel): New variable. Lars-Dominik Braun 2021-07-21gnu: Add python-bash-kernel....* gnu/packages/jupyter.scm (python-bash-kernel): New variable. Lars-Dominik Braun 2021-07-09gnu: Add repo2docker....* gnu/packages/jupyter.scm (repo2docker): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Hugo Lecomte 2021-04-13gnu: Add python-jupyterlab-widgets....* gnu/packages/jupyter.scm (python-jupyterlab-widgets): New variable. Ricardo Wurmus 2021-04-13gnu: Add python-jupyter-packaging....* gnu/packages/jupyter.scm (python-jupyter-packaging): New variable. Ricardo Wurmus 2021-04-13gnu: Add python-nbclient....* gnu/packages/jupyter.scm (python-nbclient): New variable. Ricardo Wurmus 2021-04-13gnu: Add python-jupyterlab-pygments....* gnu/packages/jupyter.scm (python-jupyterlab-pygments): New variable. Ricardo Wurmus