aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ncdu.scm
blob: b2e2ae2d838c2becd022e2aafb2f3735d575b4cd (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
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014  John Darrington <jmd@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 ncdu)
  #:use-module (gnu packages)
  #:use-module (gnu packages ncurses)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public ncdu
  (package
    (name "ncdu")
    (version "1.12")
    (source (origin
              (method url-fetch)
              (uri (string-append "https://dev.yorhel.nl/download/ncdu-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "16j9fyw73y1lk05a35i4q9i66laklgsx41lz5rxfr8m28x3lw3l2"))))
    (build-system gnu-build-system)
    (inputs `(("ncurses" ,ncurses)))
    (synopsis "Ncurses based disk usage analyzer")
    (description "A disk usage analyzer with an ncurses interface, aimed to be
run on a remote server where you don't have an entire graphical setup, but have
to do with a simple SSH connection. ncdu aims to be fast, simple and easy to
use, and should be able to run in any minimal POSIX-like environment with
ncurses installed.")
    (license (x11-style
              (string-append "https://g.blicky.net/ncdu.git/plain/COPYING?id=v"
                             version)))
    (home-page "https://dev.yorhel.nl/ncdu")))
91259834077d54c0146bdab6'>Merge branch 'master' into core-updatesLudovic Courtès 2019-07-15lint: Move the linting code to a different module.Christopher Baines To try and move towards making programatic access to the linting code easier, this commit separates out the linting script, from the linting functionality that it uses. * guix/scripts/lint.scm (emit-warnings): Alter to to not use match-lambda, as <lint-warning> isn't accessible. (<lint-warning>, lint-warning, make-lint-warning, lint-warning?, lint-warning-message, lint-warning-message-text, lint-warning-message-data, lint-warning-location, package-file, %make-warning make-warning, <lint-checker>, lint-checker, make-lint-checker, lint-checker?, lint-checker-name, lint-checker-description, lint-checker-check, properly-starts-sentance?, starts-with-abbreviation?, %quoted-identifier-rx, check-description-style, package-input-intersection, check-inputs-should-be-native, check-inputs-should-not-be-an-input-at-all, package-name-regexp, check-synopsis-style, probe-uri, tls-certificate-error-string, validate-uri, check-home-page, %distro-directory, check-patch-file-names, escape-quotes, official-gnu-packages*, check-gnu-synopsis+description, origin-uris, check-source, check-source-file-name, check-source-unstable-tarball, check-mirror-url, check-github-url, check-derivation, check-license, call-with-networking-fail-safe, with-networking-fail-safe, current-vulnerabilities*, package-vulnerabilities, check-vulnerabilities, check-for-updates, report-tabulations, report-trailing-white-space, report-long-line, %hanging-paren-rx, report-lone-parantheses, %formatting-reporters, report-formatting-issues, check-formatting, %checkers): Move to… * guix/lint.scm: … here * po/guix/POTFILES.in: Add guix/lint.scm. * Makefile.am: Add guix/lint.scm. * tests/lint.scm: Change to import (guix lint), rather than (guix scripts lint). 2019-07-15derivations: Deprecate the previous calling convention.Ludovic Courtès We will eventually require #:inputs to be a list of <derivation-input>; store items will have to be passed as #:sources, already interned. * guix/derivations.scm (warn-about-derivation-deprecation): New procedure. (derivation): Add #:%deprecation-warning? parameter. [warn-deprecation]: New macro. [input->derivation-input, input->source]: Use it. (build-expression->derivation): Pass #:%deprecation-warning?. * po/guix/POTFILES.in: Add guix/derivations.scm. 2019-07-12Merge branch 'master' into core-updatesMarius Bakke Conflicts: gnu/local.mk gnu/packages/python-xyz.scm gnu/packages/xml.scm guix/gexp.scm po/guix/POTFILES.in 2019-07-06Add 'guix deploy'.Jakob L. Kreuze * guix/scripts/deploy.scm: New file. * Makefile.am (MODULES): Add it. 2019-07-06gnu: Add machine type for deployment specifications.Jakob L. Kreuze * gnu/machine.scm: New file. * gnu/machine/ssh.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. 2019-06-17utils: Add 'invoke/quiet'.Ludovic Courtès * gnu/build/bootloader.scm (G_): Remove. (open-pipe-with-stderr, invoke/quiet): Move to... * guix/build/utils.scm: ... here. Use 'let-values' instead of 'define-values' because Guile 2.0 (the bootstrap Guile) doesn't know about 'define-values'. * po/guix/POTFILES.in: Remove gnu/build/bootloader.scm, and add guix/build/utils.scm. * tests/build-utils.scm: Remove import of (gnu build bootloader). 2019-06-14gnu: bootstrap: Download the bootstrap bash, mkdir, tar, and xz binaries.Ludovic Courtès * gnu/packages/bootstrap.scm (%bootstrap-executables): New variable. (bootstrap-executable-url, bootstrap-executable): New procedure. (raw-build)[->store]: Use 'run-with-store' and 'origin->derivation'. Add calls to 'derivation->output-path', and remove the list of references passed to 'add-text-to-store' for BUILDER. Augment the list of #:inputs passed to 'derivation'. (package-from-tarball): Use 'bootstrap-executable' instead of 'search-bootstrap-binary'. (%bootstrap-glibc, %bootstrap-gcc, %bootstrap-mescc-tools) (%bootstrap-mes): Likewise. * guix/scripts/environment.scm (environment-bash): Use 'bootstrap-executable' instead of 'search-bootstrap-binary'. (guix-environment): Adjust CONTAINER? case accordingly. * po/guix/POTFILES.in: Add gnu/packages/bootstrap.scm. 2019-06-13Reinstate "nls: Update 'de' translation of the manual."Ludovic Courtès This reverts commit d69bbd8c70a98ae6f3257fb4b4098ee92eeaebfe. 2019-06-10Revert "nls: Update 'de' translation of the manual."Ricardo Wurmus This reverts commit 78b0f9419fdac88d7b84314868bab1b1e8173602. 2019-06-07nls: Update 'de' translation of the manual.Ludovic Courtès 2019-05-17nls: Update 'es' translation.Ludovic Courtès 2019-05-17nls: Update 'de' translation.Ludovic Courtès 2019-05-15nls: Update 'zh_CN' translation.Ludovic Courtès 2019-05-13nls: Update 'fr' translation.Julien Lepiller 2019-05-13nls: Update es translation.Ludovic Courtès 2019-05-13nls: Update de translation.Ludovic Courtès 2019-05-13doc: Add Russian translation.Ludovic Courtès * doc/local.mk (info_TEXINFOS): Add guix.ru.texi. (TRANSLATED_INFO): Add {guix,contributing}.ru.texi. * po/doc/local.mk (DOC_PO_FILES): Add guix-manual.ru.po. * po/doc/guix-manual.ru.po: New file. 2019-05-03nls: Update da translations.Ludovic Courtès 2019-05-01nls: Revert latest guix-manual.zh_CN changes.Ludovic Courtès This reverts d3619b296fd1db6441e09bb51b55a4264b9fd0ed for po/doc/guix-manual.zh_CN.po, which contained duplicate node names and other errors. 2019-05-01nls: Fix cross-reference syntax error in 'guix-manual.es.po'.Ludovic Courtès * po/doc/guix-manual.es.po: Replace "@pref" with "@pxref". 2019-05-01nls: Update translations for de and fr.Ludovic Courtès 2019-05-01nls: Update manual translations for de, es, fr, and zh_CN.Ludovic Courtès 2019-04-30build: 'guix-manual.*.po' no longer depends on 'guix-manual.pot'.Ludovic Courtès That dependency was causing a failure when building from a fresh checkout since commit d60225d5caabfb6409e3277c0512cd4c0fa63d72 because 'guix-manual.pot' was no longer around and there's no rule to make it. This commit replaces the 'guix-manual.%.po' target by a phony target, 'doc-po-update-%', without any dependency. * po/doc/local.mk ($(srcdir)/po/doc/guix-manual.%.po): Rename to... (doc-po-update-%): ... this. Remove dependencies. Change how 'lang' is computed; compute $output and $input, and replace occurrences of $@ and $< with those. (doc-po-update): Adjust accordingly. 2019-04-30nls: Remove 'guix-manual.pot'.Ludovic Courtès This file was inadvertently committed in commit 39764ef893b7b65a8ce55e13746fed8fd0bad6e0. * po/doc/guix-manual.pot: Remove. 2019-04-29maint: Mark 'doc-pot-update' and 'doc-po-update' as phony.Ludovic Courtès * po/doc/local.mk (doc-pot-update, doc-pot-update): Mark as phony. 2019-04-29guix package: Add 'guix search' alias.Ludovic Courtès * guix/scripts/search.scm: New file. * Makefile.am (MODULES): Add it. * po/guix/POTFILES.in: Add it. * tests/guix-package-aliases.sh: Add test. * doc/guix.texi (Invoking guix package): Document it and use it in a couple of examples. 2019-04-29guix package: Add 'install', 'remove', and 'upgrade' aliases.Ludovic Courtès * guix/scripts/install.scm, guix/scripts/remove.scm, guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files. * Makefile.am (MODULES, SH_TESTS): Add them. * po/guix/POTFILES.in: Add them. * guix/scripts/package.scm (guix-package): Split with... (guix-package*): ... this. New procedure. * doc/guix.texi (Invoking guix package): Document them. (Binary Installation, Application Setup, Package Management) (Packages with Multiple Outputs, Package Modules) (X.509 Certificates, Installing Debugging Files): Use 'guix install' in simple examples. * etc/completion/bash/guix (_guix_complete): Handle "install", "remove", and "upgrade". 2019-04-27nls: Fix wrong include name.Clément Lassieur * po/doc/guix-manual.zh_CN.po: Fix wrong include name. 2019-04-27nls: Update 'zh_CN' translation.Julien Lepiller Refer to the right version.*.texi to prevent errors in Makefile.am. 2019-04-25nls: Update 'es' translation.Julien Lepiller 2019-04-25nls: Update 'de' translation.Julien Lepiller 2019-04-25nls: Update 'fr' translation.Julien Lepiller 2019-04-24nls: Update 'fr' translation of the manual.Julien Lepiller 2019-04-24doc: Add Simplified Chinese translation.Ludovic Courtès * doc/local.mk (info_TEXINFOS): Add guix.zh_CN.texi. (TRANSLATED_INFO): Add guix.zh_CN.texi and contributing.zh_CN.texi. * po/doc/local.mk (DOC_PO_FILES): Add guix-manual.zh_CN.po. * doc/contributing.zh_CN.texi, doc/guix.zh_CN.texi: New files. 2019-04-24nls: Fix guix-manual.zh_CN.po.Ludovic Courtès * po/doc/guix-manual.zh_CN.po: Replace "@def" with "@dfn". Translate the "contributing.texi" message ID. 2019-04-24doc: Add zh_CN PO file.Ludovic Courtès * po/doc/guix-manual.zh_CN.po: New file. 2019-04-23doc: Add Spanish translation.Miguel Ángel Arruga Vivas * doc/local.mk (info_TEXINFOS): Add guix.es.texi. (TRANSLATED_INFO): Add guix.es.texi and contributing.es.texi. * po/doc/guix-manual.es.po: New file. * po/doc/local.mk: Add guix-manual.es.po. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2019-04-23nls: Add missing installer files.Ludovic Courtès * po/guix/POTFILES.in: Add newt/final.scm and newt/partition.scm.