Add dpic
modules/cogd/packages/dpic.scm unknown status 1
1 | + | ;;; SPDX-FileCopyrightText: 2025 Evgeny Pisemsky <mail@pisemsky.site> | |
2 | + | ;;; | |
3 | + | ;;; SPDX-License-Identifier: GPL-3.0-or-later | |
4 | + | ||
5 | + | (define-module (cogd packages dpic)) | |
6 | + | ||
7 | + | (use-modules (guix packages) | |
8 | + | (guix git-download) | |
9 | + | (guix gexp) | |
10 | + | (guix utils) | |
11 | + | (guix build-system gnu) | |
12 | + | ((guix licenses) #:prefix license:)) | |
13 | + | ||
14 | + | (define-public dpic | |
15 | + | (let ((commit "0d43605e024ae435a2a5235da6ae27a6eacc1201") | |
16 | + | (revision "0")) | |
17 | + | (package | |
18 | + | (name "dpic") | |
19 | + | (version (git-version "0" revision commit)) | |
20 | + | (source | |
21 | + | (origin | |
22 | + | (method git-fetch) | |
23 | + | (uri (git-reference | |
24 | + | (url "https://gitlab.com/aplevich/dpic.git") | |
25 | + | (commit commit))) | |
26 | + | (file-name (git-file-name name version)) | |
27 | + | (sha256 | |
28 | + | (base32 "1fghqnf7i5g8ixv1inc4irhfph2mnw2ram3h00icwp7qzhxy7c9l")))) | |
29 | + | (build-system gnu-build-system) | |
30 | + | (arguments | |
31 | + | (list | |
32 | + | #:tests? #f | |
33 | + | #:make-flags | |
34 | + | #~(list (string-append "CC=" #$(cc-for-target)) | |
35 | + | (string-append "DESTDIR=" #$output)))) | |
36 | + | (home-page "https://gitlab.com/aplevich/dpic") | |
37 | + | (synopsis "Implementation of the pic language") | |
38 | + | (description | |
39 | + | "Dpic is an implementation of the pic \"little language\" for creating | |
40 | + | line drawings and illustrations for documents, web pages, and other | |
41 | + | uses.") | |
42 | + | (license (list license:bsd-2 license:cc-by3.0 license:lppl1.3c))))) |