root/package.scm

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
;; guix package see https://gnu.org/s/guix
;; you can build this with
;;   guix build --with-source=$(pwd) -f package.scm
(use-modules (guix packages)
             ((guix licenses) #:renamer (symbol-prefix-proc 'license:))
             (guix download)
             (guix build-system gnu)
             (gnu packages))

(package
 (name "noslib")
 (version "0.1")
 (source (origin
          (method url-fetch)
          (uri (string-append "https://hidamari.blue/git/noslib/release/noslib-"
                              version ".tar.gz"))
          (sha256
           (base32
            "1fvf76bfzmjklvcxa959xh4r6wfbkgybqbmlz0cbdddi0pgbc80y"))))
 (build-system gnu-build-system)
 (arguments
  `(#:phases
    (alist-delete 'configure %standard-phases)
    #:make-flags (let ((out (assoc-ref %outputs "out")))
                   (list (string-append "INSTALL_PREFIX=" out)
                         "CC=gcc"))))
 (inputs `())
 (synopsis "No(t 0) Strain Serialization Library")
 (description "very shitty serialization library I wrote to practice c++,
 It's very bad and insecure.
 Don't use. It can parse some ill-formatted xml and json.")
 (home-page "https://nigge.rs/id/movebitch")
 (license license:lgpl3))