;;; 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>
;;;
;;; This file is part of GNU Guix.
;;;
(define-public ninja
(package
(name "ninja")
- (version "1.5.3")
+ (version "1.7.2")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/martine/ninja/"
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1h3yfwcfl61v493vna6jia2fizh8rpig7qw2504cvkr6gid3p5bw"))
- (patches (map search-patch
- '("ninja-zero-mtime.patch" "ninja-tests.patch")))))
+ "1n8n3g26ppwh7zwrc37n3alkbpbj0wki34ih53s3rkhs8ajs1p9f"))
+ (patches (search-patches "ninja-zero-mtime.patch"))))
(build-system gnu-build-system)
(native-inputs `(("python" ,python-2)))
(arguments
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(doc (string-append out "/share/doc/ninja")))
- (mkdir-p bin)
- (copy-file "ninja" (string-append bin "/ninja"))
- (mkdir-p doc)
- (copy-file "doc/manual.asciidoc"
- (string-append doc "/manual.asciidoc"))
+ (install-file "ninja" bin)
+ (install-file "doc/manual.asciidoc" doc)
#t))))))
- (home-page "http://martine.github.io/ninja/")
+ (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