Add node-yarn

Evgeny PisemskySat Aug 30 10:30:49+0300 2025

725e418

Add node-yarn

modules/cogd/packages/dpic.scm

1212
             ((guix licenses) #:prefix license:))
1313
1414
(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
15+
  (package
16+
    (name "dpic")
17+
    (synopsis "Implementation of the pic language")
18+
    (description
19+
     "Dpic is an implementation of the pic \"little language\" for creating
4020
line drawings and illustrations for documents, web pages, and other
4121
uses.")
42-
      (license (list license:bsd-2 license:cc-by3.0 license:lppl1.3c)))))
22+
    (home-page "https://gitlab.com/aplevich/dpic")
23+
    (license (list license:bsd-2 license:cc-by3.0 license:lppl1.3c))
24+
    (properties '((commit . "0d43605e024ae435a2a5235da6ae27a6eacc1201")
25+
                  (revision . "0")))
26+
    (version (git-version "0"
27+
                          (assoc-ref properties 'revision)
28+
                          (assoc-ref properties 'commit)))
29+
    (source
30+
     (origin
31+
       (method git-fetch)
32+
       (uri (git-reference
33+
             (url (string-append home-page ".git"))
34+
             (commit (assoc-ref properties 'commit))))
35+
       (file-name (git-file-name name version))
36+
       (sha256
37+
        (base32 "1fghqnf7i5g8ixv1inc4irhfph2mnw2ram3h00icwp7qzhxy7c9l"))))
38+
    (build-system gnu-build-system)
39+
    (arguments
40+
     (list
41+
      #:tests? #f
42+
      #:make-flags
43+
      #~(list (string-append "CC=" #$(cc-for-target))
44+
              (string-append "DESTDIR=" #$output))))))

modules/cogd/packages/guile-xyz.scm

77
(use-modules (guix packages)
88
             (guix git-download)
99
             (guix gexp)
10-
             ;; (guix utils)
1110
             (guix build-system guile)
1211
             ((guix licenses) #:prefix license:)
1312
             (gnu packages bash)
14-
             ;; (gnu packages build-tools)
1513
             (gnu packages guile))
1614
1715
(define-public guile-gpio

modules/cogd/packages/node-xyz.scm

55
(define-module (cogd packages node-xyz))
66
77
(use-modules (guix packages)
8+
             (guix download)
89
             (guix git-download)
910
             (guix gexp)
1011
             (guix build-system node)

6465
This package also provides a command line utility for creating wav
6566
files from sound definitions and a web interface.")
6667
      (license (list license:unlicense license:expat)))))
68+
69+
(define-public node-yarn
70+
  (package
71+
    (name "node-yarn")
72+
    (version "1.22.22")
73+
    (source
74+
     (origin
75+
       (method url-fetch)
76+
       (uri "https://registry.npmjs.org/yarn/-/yarn-1.22.22.tgz")
77+
       (sha256
78+
        (base32 "1jji9dwr886bv2ihg21vkjycdjjq039vycay6yzib4cszfbkfzf1"))))
79+
    (build-system node-build-system)
80+
    (arguments
81+
     (list
82+
      #:tests? #f))
83+
    (home-page "https://github.com/yarnpkg/yarn")
84+
    (synopsis "Fast, reliable, and secure dependency management")
85+
    (description "Yarn is a fast, reliable, and secure dependency manager for npm
86+
packages.")
87+
    (license license:bsd-2)))