-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimglapse.scm
48 lines (47 loc) · 1.85 KB
/
imglapse.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(define-module (imglapse)
#:use-module (guix packages)
#:use-module (guix licenses)
#:use-module (guix git-download)
#:use-module (guix build-system copy)
#:use-module (gnu packages base)
#:use-module (gnu packages less)
#:use-module (gnu packages video))
(define-public imglapse
(let ((ver "0")
(rev "2")
(commit "c049a0260aa3294446757fa2fa02b61d99420a19"))
(package
(name "imglapse")
(version (git-version ver rev commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/peanutbutterandcrackers/ImgLapse")
(commit commit)))
(sha256
(base32
"04k8fb6qzllk6i3vi7907hpm96sjbnacs607slsbz4rszgwc69jw"))
(file-name (git-file-name name version))))
(build-system copy-build-system)
(arguments
`(#:install-plan
'(("imglapse.sh" "bin/imglapse"))
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda _
(let* ((out (string-append
(assoc-ref %outputs "out")))
(prog (string-append
out "/bin/imglapse")))
(wrap-program prog
`("PATH" ":" suffix
,(list (getenv "PATH")))))
#t)))))
(inputs
`(("less" ,less)
("ffmpeg" ,ffmpeg)))
(synopsis "Create Timelapses on GNU/Linux")
(description synopsis)
(home-page "https://github.com/peanutbutterandcrackers/ImgLapse")
(license gpl3))))