;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2022 pukkamustard ;;; ;;; 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 (gnu packages pikchr) #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:)) (define-public pikchr (let ((commit "221988914eff6efe") (revision "0")) ;increment for each new snapshot (package (name "pikchr") ;; To update, use the last check-in in https://pikchr.org/home/timeline?r=trunk (version (string-append revision "-" (string-take commit 5))) (source (origin (method url-fetch) (uri (string-append "https://pikchr.org/home/tarball/" commit "/pikchr.tar.gz")) (file-name (string-append "pikchr-" version ".tar.gz")) (sha256 (base32 "0yclkincsgfni4scjzp5avdsij8vmyxjn0q2qkwjhn3p43y8nxzd")))) (build-system gnu-build-system) (arguments '(#:tests? #f ;no tests #:phases (modify-phases %standard-phases (delete 'bootstrap) (delete 'configure) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin"))) (install-file "pikchr" bin))))))) (home-page "https://pikchr.org") (synopsis "Markup language for diagrams in technical documentation") (description "Pikchr (pronounced @emph{picture}) is a PIC-like markup language for diagrams in technical documentation. Pikchr is designed to be embedded in fenced code blocks of Markdown or similar mechanisms of other documentation markup languages.") (license license:bsd-0)))) v class='content'>
AgeCommit message (Collapse)Author
2021-07-04installer: tests: Expect but do not select other services by default.Tobias Geerinckx-Rice
* gnu/installer/tests.scm (choose-services): Accept a new choose-other-service? keyword argument, defaulting to false. Expect an "Other services" checkbox-list. Update docstring.
2021-04-28tests: Add gui-uefi-installed-os test.Mathieu Othacehe
* gnu/installer/tests.scm (conclude-installation): Rename it into ... (start-installation): ... this new procedure. (complete-installation): New procedure. (choose-partitioning): Add an uefi-support? argument. * gnu/tests/install.scm (uefi-firmware): New procedure. (run-install, qemu-command/writable-image, gui-test-program, installation-target-os-for-gui-tests): Add an uefi-support? argument. (%extra-packages): Add grub-efi, fatfsck/static and dosfstools. (%test-gui-installed-os): New variable.
2020-10-30installer: Use UUIDs in the 'swap-devices' field.Ludovic Courtès
Note: This change requires an updated 'guix' package that contains Linux-swap support in (gnu build file-systems). * gnu/installer/parted.scm (user-partitions->configuration): Use UUIDs in the 'swap-devices' field. * gnu/installer/newt/final.scm (run-final-page)[wait-for-clients]: New procedure. Use it. * gnu/installer/tests.scm (choose-partitioning): Wait for 'starting-final-step' message and move configuration file dialog handling to... (conclude-installation): ... here. Send over PORT the reply corresponding to 'starting-final-step'. * gnu/tests/install.scm (gui-test-program): When ENCRYPTED? is false, invoke 'swaplabel' in the marionette. (installation-target-os-for-gui-tests): When ENCRYPTED? is false, except a fixed UUID.
2020-04-10installer: tests: Don't install to a CD/DVD.Ludovic Courtès
* gnu/installer/tests.scm (choose-partitioning): Use 'find' to select the disk.
2020-03-26installer: tests: Use a filter to select desktop-environments.Mathieu Othacehe
* gnu/installer/tests.scm (choose-services): Turn desktop-environments list into a choose-desktop-environment procedure. This way, it is easier to select all desktop-environments or none, in the same way as choose-network-service? and choose-network-management-tool? arguments.
2020-03-05tests: install: Add "gui-installed-os".Ludovic Courtès
* gnu/installer/tests.scm: New file. * gnu/local.mk (INSTALLER_MODULES): Add it. * gnu/tests/install.scm (run-install): Add #:gui-test. Add (gnu installer tests) to the marionette imported modules. Honor GUI-TEST. Check whether SCRIPT is true. (%root-password, %syslog-conf): New variable. (operating-system-with-console-syslog, gui-test-program) (guided-installation-test): New procedures. (%extra-packages, installation-os-for-gui-tests) (%test-gui-installed-os): New variable.