Compare commits

...

3 Commits

Author SHA1 Message Date
Collin J. Doering 669167bbe8
rekahsoft-gnu: Add ghc-shake
* rekahsoft-gnu/packages/haskell-apps.scm (ghc-shake): New variable
2022-07-29 01:51:20 -04:00
Collin J. Doering 1c2036f076
rekahsoft-gnu: Add ghc-heaps
* rekahsoft-gnu/packages/haskell-apps.scm (ghc-heaps): New variable
2022-07-29 01:50:51 -04:00
Collin J. Doering 6c99e1e478
rekahsoft-gnu: Add ghc-js-dgtable
* rekahsoft-gnu/packages/haskell-apps.scm (ghc-js-dgtable): New variable
2022-07-29 01:50:17 -04:00
1 changed files with 91 additions and 0 deletions

View File

@ -143,3 +143,94 @@ accounting system. It can be a more convenient way to browse your accounts
than the CLI. This package currently does not support Microsoft Windows, except
in WSL.")
(license license:gpl3)))
(define-public ghc-js-dgtable
(package
(name "ghc-js-dgtable")
(version "0.5.2")
(source
(origin
(method url-fetch)
(uri (hackage-uri "js-dgtable" version))
(sha256
(base32 "1b10kx703kbkb5q1ggdpqcrxqjb33kh24khk21rb30w0xrdxd3g2"))))
(build-system haskell-build-system)
(home-page "https://github.com/ndmitchell/js-dgtable#readme")
(synopsis "Obtain minified jquery.dgtable code")
(description
"This package bundles the minified <https://github.com/danielgindi/jquery.dgtable
jquery.dgtable> code into a Haskell package, so it can be depended upon by Cabal
packages. The first three components of the version number match the upstream
jquery.dgtable version. The package is designed to meet the redistribution
requirements of downstream users (e.g. Debian).")
(license license:expat)))
(define-public ghc-heaps
(package
(name "ghc-heaps")
(version "0.4")
(source
(origin
(method url-fetch)
(uri (hackage-uri "heaps" version))
(sha256
(base32 "1zbw0qrlnhb42v04phzwmizbpwg21wnpl7p4fbr9xsasp7w9scl9"))))
(build-system haskell-build-system)
(home-page "http://github.com/ekmett/heaps/")
(synopsis "Asymptotically optimal Brodal/Okasaki heaps.")
(description
"Asymptotically optimal Brodal\\/Okasaki bootstrapped skew-binomial heaps from the
paper <http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.48.973 \"Optimal
Purely Functional Priority Queues\">, extended with a 'Foldable' interface.")
(license license:bsd-3)))
;; TODO: this package cannot go upstream until tests can be run correctly
(define-public ghc-shake
(package
(name "ghc-shake")
(version "0.19.6")
(source
(origin
(method url-fetch)
(uri (hackage-uri "shake" version))
(sha256
(base32 "0hnm3h1ni4jq73a7b7yxhbg9wm8mrjda5kmkpnmclynnpwvvi7bx"))))
(build-system haskell-build-system)
(inputs
(list ghc-extra
ghc-filepattern
ghc-hashable
ghc-heaps
ghc-js-dgtable
ghc-js-flot
ghc-js-jquery
ghc-primitive
ghc-random
ghc-unordered-containers
ghc-utf8-string
ghc-semigroups))
(native-inputs (list ghc-quickcheck))
;; fixme: tests currently fail. Current guess: /bin/sh is used to run
;; commands (in 'src/Development/Shake/Command.hs#L164') which is somehow
;; related to the issue?
(arguments
`(#:tests? #f))
(home-page "https://shakebuild.com")
(synopsis
"Build system library, like Make, but more accurate dependencies.")
(description
"Shake is a Haskell library for writing build systems - designed as a replacement
for @make@. See \"Development.Shake\" for an introduction, including an example.
The homepage contains links to a user manual, an academic paper and further
information: <https://shakebuild.com> . To use Shake the user writes a Haskell
program that imports \"Development.Shake\", defines some build rules, and calls
the 'Development.Shake.shakeArgs' function. Thanks to do notation and infix
operators, a simple Shake build system is not too dissimilar from a simple
Makefile. However, as build systems get more complex, Shake is able to take
advantage of the excellent abstraction facilities offered by Haskell and easily
support much larger projects. The Shake library provides all the standard
features available in other build systems, including automatic parallelism and
minimal rebuilds. Shake also provides more accurate dependency tracking,
including seamless support for generated files, and dependencies on system
information (e.g. compiler version).")
(license license:bsd-3)))