# hello.scm -rw-r--r-- 1.0 KiB View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
(define-module (gnu packages hello)
  #:use-module (guix packages)
  #:use-module (guix build-system copy)
  #:use-module (guix gexp)
  #:use-module (guix git-download)
  #:use-module (guix utils)
  #:use-module ((guix licenses) #:prefix license:))

(define-public libstc
  (package
    (name "libstc")
    (version "v3.5.1")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/tylov/STC")
                    (commit version)))
              (sha256
               (base32 "0ch574q1z985av9afiphy8i23f527330ffa4y6rg6lkid4jnfxyn"))))
    (build-system copy-build-system)
    (arguments
     (list #:install-plan #~'(("." "include"))
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'my-fancy-new-phase
                 (lambda _
                   (invoke "ls" "-lAh"))))))
    (synopsis "a library")
    (description "library")
    (home-page "https://github.com/")
    (license license:x11)))

libstc