47 lines
1.8 KiB
Scheme
47 lines
1.8 KiB
Scheme
(define-module (gomicsv))
|
|
|
|
(use-modules (guix packages)
|
|
(gnu packages version-control)
|
|
(gnu packages gtk)
|
|
(gnu packages golang)
|
|
(gnu packages glib)
|
|
(guix download)
|
|
(guix build-system gnu)
|
|
(guix licenses)
|
|
(guix git-download))
|
|
|
|
(define-public gomicsv
|
|
(package
|
|
(name "gomicsv")
|
|
(version "0.2")
|
|
(source (origin
|
|
(method git-fetch)
|
|
(uri (git-reference
|
|
(url "https://github.com/KonstantinDjairo/suckless_dictpopup.git")
|
|
(commit "5309e184d0a68bad266ca0f4bef7c3d73ccc5eef")))
|
|
(file-name (git-file-name name version))
|
|
(sha256 (base32 "18dv3fr9xanhj1crs9xs5xhvvl005ivjfph9l7psa9b3r55s764j"))))
|
|
(inputs
|
|
(list git gtk+ go gdk-pixbuf glib ))
|
|
(build-system gnu-build-system)
|
|
(arguments
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
(delete 'configure)
|
|
(add-before 'build 'set-prefix-in-makefile
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
;; Modify the makefile so that its
|
|
;; 'PREFIX' variable points to "out".
|
|
(let ((out (assoc-ref outputs "out")))
|
|
(substitute* "Makefile"
|
|
(("PREFIX =.*")
|
|
(string-append "PREFIX = "
|
|
out "\n")))))))))
|
|
(synopsis "Hello, GNU world: An example GNU package")
|
|
(description
|
|
"GNU Hello prints the message \"Hello, world!\" and then exits. It
|
|
serves as an example of standard GNU coding practices. As such, it supports
|
|
command-line arguments, multiple languages, and so on.")
|
|
(home-page "https://www.gnu.org/software/hello/")
|
|
(license gpl3+)))
|