Skip to content
Snippets Groups Projects
Unverified Commit fb42e3b7 authored by stuebinm's avatar stuebinm
Browse files

guix: use local-file

parent 959261fa
Branches
No related tags found
No related merge requests found
(define-module (guix walint) (define-module (guix walint)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix profiles) #:use-module (guix profiles)
#:use-module (gnu packages haskell) #:use-module (gnu packages haskell)
#:use-module (gnu packages haskell-web) #:use-module (gnu packages haskell-web)
...@@ -10,6 +11,8 @@ ...@@ -10,6 +11,8 @@
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (srfi srfi-1)) #:use-module (srfi srfi-1))
;; the regex packages provided by current guix are a little too old,
;; and would result in a missing typeclass instance
(define ghc-regex-base-newer (define ghc-regex-base-newer
(package (package
(inherit ghc-regex-base) (inherit ghc-regex-base)
...@@ -25,8 +28,6 @@ ...@@ -25,8 +28,6 @@
(base32 (base32
"1ngdmmrxs1rhvib052c6shfa40yad82jylylikz327r0zxpxkcbi")))))) "1ngdmmrxs1rhvib052c6shfa40yad82jylylikz327r0zxpxkcbi"))))))
(define ghc-regex-tdfa-newer (define ghc-regex-tdfa-newer
(package (package
(inherit ghc-regex-tdfa) (inherit ghc-regex-tdfa)
...@@ -48,13 +49,7 @@ ...@@ -48,13 +49,7 @@
(name "walint") (name "walint")
(version "0.1") (version "0.1")
(source (source
(origin (local-file "" #:recursive? #t))
(method git-fetch)
(uri (git-reference
(url "https://stuebinm.eu/git/walint")
(commit "c93c266951ea40938efcb061b438ce95e9780fde")))
(sha256
(base32 "144ysxjg5qj7wirbs3pvwszarz156ba78mk873lrd6w4qxnq9kqy"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(arguments '()) (arguments '())
(inputs (inputs
...@@ -65,8 +60,7 @@ ...@@ -65,8 +60,7 @@
("ghc-aeson-pretty" ,ghc-aeson-pretty) ("ghc-aeson-pretty" ,ghc-aeson-pretty)
("ghc-either" ,ghc-either) ("ghc-either" ,ghc-either)
("ghc-extra" ,ghc-extra) ("ghc-extra" ,ghc-extra)
("ghc-bytestring-builder" ,ghc-bytestring-builder) ("ghc-bytestring-builder" ,ghc-bytestring-builder)))
))
(home-page "https://stuebinm.eu/git/walint") (home-page "https://stuebinm.eu/git/walint")
(synopsis "linter for workadventure maps") (synopsis "linter for workadventure maps")
(description (description
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment