aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ninja.scm
blob: 4c4a2f37a78f62060c20c0089fcc4badc293aaf9 (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
73
74
75
76
77
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;;
;;; 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 ninja)
  #:use-module ((guix licenses) #:select (asl2.0))
  #:use-module (guix packages)
  #:use-module (guix git-download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages)
  #:use-module (gnu packages python))

(define-public ninja
  (package
    (name "ninja")
    (version "1.10.2")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/ninja-build/ninja")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mspq4mvx41qri2v2zlg2y3znx5gfw6d8s3czbcfpr2218qbpz55"))))
    (build-system gnu-build-system)
    (inputs `(("python" ,python-wrapper)))
    (arguments
     '(#:phases
       (modify-phases %standard-phases
         (replace 'configure
           (lambda _
             (substitute* "src/subprocess-posix.cc"
               (("/bin/sh") (which "sh")))
             (substitute* "src/subprocess_test.cc"
               (("/bin/echo") (which "echo")))))
         (replace 'build
           (lambda _
             (invoke "./configure.py" "--bootstrap")))
         (replace 'check
           (lambda _
             (invoke "./configure.py")
             (invoke "./ninja" "ninja_test")
             (invoke "./ninja_test")))
         (replace 'install
           (lambda* (#:key outputs #:allow-other-keys)
             (let* ((out (assoc-ref outputs "out"))
                    (bin (string-append out "/bin"))
                    (doc (string-append out "/share/doc/ninja")))
               (install-file "ninja" bin)
               (install-file "doc/manual.asciidoc" doc)))))))
    (home-page "https://ninja-build.org/")
    (synopsis "Small build system")
    (description
     "Ninja is a small build system with a focus on speed.  It differs from
other build systems in two major respects: it is designed to have its input
files generated by a higher-level build system, and it is designed to run
builds as fast as possible.")
    (license asl2.0)))
0.12.1. [native-inputs]: Remove go-github-com-coreos-go-systemd-activation; add go-github-com-coreos-go-systemd-v22. Change-Id: I5d43b85f8ba340ef0adedc68ec1c0f01dbe062a0 Sharlatan Hellseher 2024-04-15gnu: borg: Update to 1.2.8....* gnu/packages/backup.scm (borg): Update to 1.2.8. [arguments]: Remove a variety of workarounds that have been obviated by changes upstream and in the Python package build tools. Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org> Signed-off-by: Christopher Baines <mail@cbaines.net> Change-Id: I031bb4e6ac2f562a3e387a5e815b31416367766f Leo Famulari 2024-04-12gnu: restic-rest-server: Refresh package style....* gnu/packages/backup.scm (restic-rest-server): Use G-expressions. [arguments] <#:phases>: Swap back to standard 'check phase and add 'set-tmpdir phase. [native-inputs]: Swap from propagated-inputs to native-inputs, sort alphabetically. Change-Id: I5010a2dd81b887d8ef10fa27b3ffcb228e08fade Sharlatan Hellseher 2024-04-06gnu: packages: backup: Sort use-module alphabetically....* gnu/packages/backup.scm: Sort use-module alphabetically to ease maintenance. Change-Id: Ibe5288440edbe74d34f528a5867184d551f49e80 Sharlatan Hellseher 2024-04-03gnu: libarchive: Fix a potential security issue....https://github.com/libarchive/libarchive/pull/2101 * gnu/packages/backup.scm (libarchive)[replacement]: New field. (libarchive/fixed): New variable. * gnu/packages/patches/libarchive-remove-potential-backdoor.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Change-Id: I939e9b842b10d1a78125da4a4599c38d9c037079 Leo Famulari 2024-03-31gnu: borgmatic: Update to 1.8.9....* gnu/packages/backup.scm (borgmatic): Update to 1.8.9. [arguments]: Apply guix style. [native-inputs]: Apply guix style. [inputs]: Apply guix style. Change-Id: Ic9eb3c9439dc0aade3e4aae0fbe8e2c7bec49754 Signed-off-by: jgart <jgart@dismail.de> Fabio Natali 2024-02-25Merge branch 'master' into gnome-teamLiliana Marie Prikler 2024-02-22gnu: python-ruamel-yaml: Update to 0.18.6....* gnu/package/serialization.scm (python-ruamel-yaml): Update to 0.18.6. (python-ruamel.yaml-0.16): New variable. * gnu/packages/package-management.scm (conda)[inputs]: Replace python-ruamel.yaml with python-ruamel.yaml-0.16. * gnu/packages/backup.scm (borgmatic)[inputs]: Replace python-ruamel.yaml with python-ruamel.yaml-0.16. * gnu/packages/python-xyz.scm (dynaconf)[inputs]: Replace python-ruamel.yaml with python-ruamel.yaml-0.16. Change-Id: Iff9eeeae043c9547d93a6c780f0c30bd760490d9 Change-Id: I43cad7e3936f62d209fbba7e86b93519cfc1c1ba Signed-off-by: Arun Isaac <arunisaac@systemreboot.net> Arun Isaac 2024-02-15gnu: packages: backup: Add golang-xyz....* gnu/packages/backup.scm: Add (gnu packages golang-xyz) module. Change-Id: I848acb1dea36c59031bc60107179b3bc0d14636d Sharlatan Hellseher 2024-02-13Merge branch 'master' into gnome-teamLiliana Marie Prikler 2024-02-13gnu: go-golang-org-x-crypto: Move to golang-build....* gnu/packages/golang.scm (go-golang-org-x-crypto): Move from here ... * gnu/packages/golang-build.scm: ... to here. * gnu/packages/backup.scm: Add (gnu packages golang-build) module. * gnu/packages/crypto.scm: As above. Change-Id: I5daad7fe90e1507958fe73c04fc043ebbc006395 Sharlatan Hellseher 2024-02-12gnu: disarchive: Update to 0.6.0....* gnu/packages/backup.scm (disarchive): Update to 0.6.0; add 'guile-bzip2' as an input. * gnu/packages/package-management.scm (guix): Add 'guile-bzip2' as an input to enable bzip2 support when using Disarchive. * guix/self.scm (%packages): Add 'guile-bzip2'. (compiled-guix): Include 'guile-bzip2' as a dependency when building the 'guix' command. * etc/disarchive-manifest.scm (tarball-origin?): Include bzip2 tarballs. Co-authored-by: Ludovic Courtès <ludovic.courtes@inria.fr> Change-Id: I4da479054f6bef225f5ea979c091152f8a9e51d5 Timothy Sample 2024-02-03Merge branch 'master' into gnome-teamLiliana Marie Prikler 2024-02-03gnu: duplicity: Wrap for GI_TYPELIB_PATH....* gnu/packages/backup.scm (duplicity) [native-inputs]: Add gobject-introspection. [inputs]: Add bash-minimal. [#:phases]: Add 'gi-wrap. Change-Id: If9d6a6bb0e855a4d775c1e4adb3b07f71be43090 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Vivien Kraus 2024-01-28gnu: go-github-com-minio-sha256-simd: Move to (gnu packages golang-crypto)....* gnu/packages/golang.scm (go-github-com-minio-sha256-simd): Move from here ... * gnu/packages/golang-crypto.scm: ... to here. * gnu/packages/backup.scm: Add (gnu packages golang-crypto) to used modules. Change-Id: I4e57a1bee0c7e19a9bb60ce5ff72ccd5e42deea5 Sharlatan Hellseher 2024-01-03gnu: go-github-com-gorilla-handlers: Move to (gnu packages golang-web)....* gnu/packages/golang.scm (go-github-com-gorilla-handlers): Move from here... * gnu/packages/golang-web.scm: ...to here. * gnu/packages/backup.scm: Add (gnu packages golang-web) module. Change-Id: I7535bdecc681e230f4aee70115a3dea847d40e6f Sharlatan Hellseher 2023-12-16gnu: Borg: Update to 1.2.7....* gnu/packages/backup.scm (borg): Update to 1.2.7. [inputs]: Replace python-msgpack-1.0.2 with python-msgpack. Change-Id: I8529d737d90105f877f1c099f4b3afa9b0ed9fa8 Leo Famulari 2023-11-22gnu: duplicity: Remove input labels and use gexps....* gnu/packages/backup.scm (duplicity)[native-inputs, propagated-inputs]: Remove labels. [arguments]: Use labels. Change-Id: I08c7d20cca5d2f96edf9da77df9a1a3a8e5c2e5b Ludovic Courtès 2023-11-22gnu: duplicity: Use ‘search-input-file’....* gnu/packages/backup.scm (duplicity)[arguments]: In ‘use-store-file-names’ phase, use ‘search-input-file’. Change-Id: I4b66a22283fc6e426377ad9f4f4c451598eb74e0 Ludovic Courtès 2023-11-22gnu: duplicity: Update to 2.1.4....* gnu/packages/backup.scm (duplicity): Update to 2.1.4. [source]: Switch to ‘git-fetch’ and change URL. [arguments]: Add ‘fix-version’ phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I0a19d19741f665ddb84da83d4bbefc959290fe42 Jonathan Pieper 2023-09-10gnu: rdiff-backup: Update to 2.2.6....* gnu/packages/backup.scm (rdiff-backup): Update to 2.2.6. Tobias Geerinckx-Rice 2023-09-10gnu: borg: Update to 1.2.6....* gnu/packages/backup.scm (borg): Update to 1.2.6. Tobias Geerinckx-Rice 2023-08-31gnu: btar: Fix build....* gnu/packages/backup.scm (btar)[arguments]: Add CFLAGS=-fcommon to make-flags. 宋文武