forked from jsoo1/guix-channel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ormolu.scm
41 lines (39 loc) · 1.25 KB
/
ormolu.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
(define-module (ormolu)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix build-system haskell)
#:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages haskell-check)
#:use-module ((guix licenses) #:prefix license:))
(define-public ormolu
(package
(name "ormolu")
(version "0.0.1.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/ormolu/ormolu-"
version
".tar.gz"))
(sha256
(base32
"1p4m9hiavirnhf941fb5pdnrlrknr5rhcvznhqywianvvw6qcm30"))))
(build-system haskell-build-system)
(inputs
`(("ghc-dlist" ,ghc-dlist)
("ghc-exceptions" ,ghc-exceptions)
("ghc-paths" ,ghc-paths)
("ghc-syb" ,ghc-syb)
("ghc-gitrev" ,ghc-gitrev)
("ghc-optparse-applicative" ,ghc-optparse-applicative)))
(native-inputs
`(("ghc-hspec" ,ghc-hspec)
("ghc-path" ,ghc-path)
("ghc-path-io" ,ghc-path-io)
("hspec-discover" ,hspec-discover)))
(home-page "https://github.com/tweag/ormolu")
(synopsis "A formatter for Haskell source code")
(description
"A formatter for Haskell source code.")
(license license:bsd-3)))