summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-07-21 15:10:04 +0200
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-07-21 15:10:04 +0200
commit70bdd1526ba1b308a88d50fb5c28c03022663103 (patch)
tree653bb65b7212f63b5aebc8989c748f585bce696c
add first sketch of sc-im
-rw-r--r--sc-im.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/sc-im.scm b/sc-im.scm
new file mode 100644
index 0000000..0fbcb36
--- /dev/null
+++ b/sc-im.scm
@@ -0,0 +1,44 @@
+; Configure it for my needs
+(define-module (sc-im)
+ #:use-module (guix packages)
+ #:use-module (guix git-download)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix licenses)
+ #:use-module (gnu packages ncurses)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages bison)
+ #:use-module (gnu packages lua)
+ )
+
+(define-public sc-im
+ (let ((commit-ref "9beb5c0a7b24f4fe05e2ad6b0b0c24c5939c3fe3"))
+ (package
+ (name "sc-im")
+ (version "freeze")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/andmarti1424/sc-im.git")
+ (commit commit-ref)))
+ (sha256
+ (base32
+ "11cdz2jm9bsp693xj708m38dpcxysb0mbdsw8fwvsmcr44sjcx6v"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f
+ #:make-flags (list
+ "-C"
+ "src"
+ "CC=gcc"
+ (string-append "prefix=" (assoc-ref %outputs "out")))
+ #:phases (modify-phases
+ %standard-phases
+ (delete 'configure))))
+ (inputs `(("ncurses" ,ncurses)))
+ (native-inputs `(("pkg-config" ,pkg-config)
+ ("bison" ,bison)
+ ("lua" ,lua)))
+ (synopsis "")
+ (description "")
+ (home-page "https://github.com/andmarti1424/sc-im")
+ (license bsd-3)))) ; I'm not sure