;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 David Thompson ;;; Copyright © 2016 David Craven ;;; ;;; 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 . (define-module (test-crate) #:use-module (guix import crate) #:use-module (guix base32) #:use-module (guix build-system cargo) #:use-module (gcrypt hash) #:use-m
aboutsummaryrefslogtreecommitdiff
o") ('version "1.0.0") ('source ('origin ('method 'url-fetch) ('uri ('crate-uri "foo" 'version)) ('file-name ('string-append 'name "-" 'version ".tar.gz")) ('sha256 ('base32 (? string? hash))))) ('build-system 'cargo-build-system) ('inputs ('quasiquote (("rust-bar" ('unquote 'rust-bar) "src")))) ('home-page "http://example.com") ('synopsis "summary") ('description "summary") ('license ('list 'license:expat 'license:asl2.0))) (string=? test-source-hash hash)) (x (pk 'fail x #f))))) (test-end "crate") n>
AgeCommit message (Expand)Author
gnu, doc, tests: Use ‘bootloader-configuration’ everywhere....Tobias Geerinckx-Rice
2017-11-15tests: install: Increase target-size....Oleg Pykhalov
2017-10-30tests: install: Estimate the installation system disk size....Hartmut Goebel
2017-09-26tests: install: Switch to modifying the gc-root-service-type....Ludovic Courtès
2017-09-08tests: Fix incorrect use of 'file-append'....Ludovic Courtès
2017-09-06tests: Add test for installing from an ISO Image....Christopher Baines
2017-08-23gnu: bootloader: Deprecate "device" field in favor of "target"....Andy Wingo
2017-07-15gnu: Rename (gnu packages qemu) to (gnu packages virtualization)....宋文武
2017-06-21tests: Add extlinux gpt test....Mathieu Othacehe