diff options
Diffstat (limited to 'pkgs/development/libraries/haskell')
34 files changed, 509 insertions, 22 deletions
diff --git a/pkgs/development/libraries/haskell/RSA/default.nix b/pkgs/development/libraries/haskell/RSA/default.nix new file mode 100644 index 0000000000000..f7ef990226f77 --- /dev/null +++ b/pkgs/development/libraries/haskell/RSA/default.nix @@ -0,0 +1,14 @@ +{cabal, SHA, binary, pureMD5} : + +cabal.mkDerivation (self : { + pname = "RSA"; + version = "1.0.6.1"; + sha256 = "1d0birzvapcsgay0wwh5v9mcd77sghj1bps9ws04ww9ga97gyp0l"; + propagatedBuildInputs = [ SHA binary pureMD5 ]; + meta = { + description = "Implementation of RSA, using the padding schemes of PKCS#1 v2.1."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/aeson/default.nix b/pkgs/development/libraries/haskell/aeson/default.nix index ec926281729c9..7f57d05ed7ce2 100644 --- a/pkgs/development/libraries/haskell/aeson/default.nix +++ b/pkgs/development/libraries/haskell/aeson/default.nix @@ -3,8 +3,8 @@ cabal.mkDerivation (self : { pname = "aeson"; - version = "0.3.2.10"; - sha256 = "003bd6nyayd7rd9j4ncjgv7kvsncv4sb84yskqjwiq7y0b36shj8"; + version = "0.3.2.9"; + sha256 = "1qaajk797zpickw4ik5lc03wnmxkrcmv3zik7n1bjqx6h37h0zqw"; propagatedBuildInputs = [ attoparsec blazeBuilder blazeTextual deepseq hashable mtl syb text unorderedContainers vector diff --git a/pkgs/development/libraries/haskell/asn1-data/default.nix b/pkgs/development/libraries/haskell/asn1-data/default.nix new file mode 100644 index 0000000000000..b06e24b8eeb99 --- /dev/null +++ b/pkgs/development/libraries/haskell/asn1-data/default.nix @@ -0,0 +1,17 @@ +{cabal, attoparsec, attoparsecEnumerator, enumerator, mtl, text} : + +cabal.mkDerivation (self : { + pname = "asn1-data"; + version = "0.5.1"; + sha256 = "10ci77pf0y8g7i1fwksv5na32jsy3brfdv6nzrnwih1brq6l5fn4"; + propagatedBuildInputs = [ + attoparsec attoparsecEnumerator enumerator mtl text + ]; + meta = { + homepage = "http://github.com/vincenthz/hs-asn1-data"; + description = "ASN1 data reader and writer in RAW, BER, DER and CER forms"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/attempt/default.nix b/pkgs/development/libraries/haskell/attempt/default.nix new file mode 100644 index 0000000000000..671d721ad71a2 --- /dev/null +++ b/pkgs/development/libraries/haskell/attempt/default.nix @@ -0,0 +1,15 @@ +{cabal, failure} : + +cabal.mkDerivation (self : { + pname = "attempt"; + version = "0.3.1.1"; + sha256 = "0yfn8mh7gy6nh689ic6sygf9d7lk44kpj2wahnljl53k6vw7smv5"; + propagatedBuildInputs = [ failure ]; + meta = { + homepage = "http://github.com/snoyberg/attempt/tree/master"; + description = "Concrete data type for handling extensible exceptions as failures."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/attoparsec-text-enumerator/default.nix b/pkgs/development/libraries/haskell/attoparsec-text-enumerator/default.nix new file mode 100644 index 0000000000000..a9e2b2b69ee3e --- /dev/null +++ b/pkgs/development/libraries/haskell/attoparsec-text-enumerator/default.nix @@ -0,0 +1,14 @@ +{cabal, attoparsecText, enumerator, text} : + +cabal.mkDerivation (self : { + pname = "attoparsec-text-enumerator"; + version = "0.2.0.0"; + sha256 = "149ipf5qh7wzjrnv98h6j94djr0ndzg8s4rs8h7kzbii21ynmzz5"; + propagatedBuildInputs = [ attoparsecText enumerator text ]; + meta = { + description = "Convert an attoparsec-text parser into an iteratee"; + license = self.stdenv.lib.licenses.mit; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/attoparsec-text/default.nix b/pkgs/development/libraries/haskell/attoparsec-text/default.nix new file mode 100644 index 0000000000000..0af80de2e583e --- /dev/null +++ b/pkgs/development/libraries/haskell/attoparsec-text/default.nix @@ -0,0 +1,15 @@ +{cabal, attoparsec, text} : + +cabal.mkDerivation (self : { + pname = "attoparsec-text"; + version = "0.8.5.1"; + sha256 = "1in0ziqjf2hvlv6yay2b5xkm35j1szzwdfapn5mpflv64qi33i0z"; + propagatedBuildInputs = [ attoparsec text ]; + meta = { + homepage = "http://patch-tag.com/r/felipe/attoparsec-text/home"; + description = "Fast combinator parsing for texts"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/authenticate/default.nix b/pkgs/development/libraries/haskell/authenticate/default.nix new file mode 100644 index 0000000000000..331d2584c5978 --- /dev/null +++ b/pkgs/development/libraries/haskell/authenticate/default.nix @@ -0,0 +1,22 @@ +{cabal, RSA, SHA, aeson, attoparsec, base64Bytestring, + blazeBuilder, caseInsensitive, enumerator, failure, httpEnumerator, + httpTypes, network, tagsoup, text, tls, transformers, + xmlEnumerator} : + +cabal.mkDerivation (self : { + pname = "authenticate"; + version = "0.9.2.2"; + sha256 = "0rn1f458ag9mmh55hi873xg5iqypwl6vf6blyaxwbgbp6nm327iz"; + propagatedBuildInputs = [ + RSA SHA aeson attoparsec base64Bytestring blazeBuilder + caseInsensitive enumerator failure httpEnumerator httpTypes network + tagsoup text tls transformers xmlEnumerator + ]; + meta = { + homepage = "http://github.com/snoyberg/authenticate/tree/master"; + description = "Authentication methods for Haskell web applications."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/blaze-textual/default.nix b/pkgs/development/libraries/haskell/blaze-textual/default.nix index 6021724824667..6698f92282488 100644 --- a/pkgs/development/libraries/haskell/blaze-textual/default.nix +++ b/pkgs/development/libraries/haskell/blaze-textual/default.nix @@ -1,12 +1,10 @@ -{cabal, blazeBuilder, doubleConversion, text, vector}: +{cabal, blazeBuilder, text, vector} : cabal.mkDerivation (self : { pname = "blaze-textual"; - version = "0.2.0.3"; - sha256 = "0x1a8qiqd4q6qlq2lf4v31wzsbrj7403p4zf74lfl7grjgvbsnfj"; - propagatedBuildInputs = [ - blazeBuilder doubleConversion text vector - ]; + version = "0.1.0.0"; + sha256 = "0ql25b0r4xbshqsjfndl7glq0hp2ncxb3h5zd541vsqrqrf8y4gk"; + propagatedBuildInputs = [ blazeBuilder text vector ]; meta = { homepage = "http://github.com/mailrank/blaze-textual"; description = "Fast rendering of common datatypes"; diff --git a/pkgs/development/libraries/haskell/certificate/default.nix b/pkgs/development/libraries/haskell/certificate/default.nix new file mode 100644 index 0000000000000..b6571628442df --- /dev/null +++ b/pkgs/development/libraries/haskell/certificate/default.nix @@ -0,0 +1,15 @@ +{cabal, asn1Data, base64Bytestring, mtl} : + +cabal.mkDerivation (self : { + pname = "certificate"; + version = "0.9.1"; + sha256 = "0hq9a0vz72kk1n3hdza36rji8vc95y667iwcsmsh5habyh6q8228"; + propagatedBuildInputs = [ asn1Data base64Bytestring mtl ]; + meta = { + homepage = "http://github.com/vincenthz/hs-certificate"; + description = "Certificates and Key Reader/Writer"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/control-monad-attempt/default.nix b/pkgs/development/libraries/haskell/control-monad-attempt/default.nix new file mode 100644 index 0000000000000..6d093ae449208 --- /dev/null +++ b/pkgs/development/libraries/haskell/control-monad-attempt/default.nix @@ -0,0 +1,15 @@ +{cabal, attempt, transformers} : + +cabal.mkDerivation (self : { + pname = "control-monad-attempt"; + version = "0.3.0"; + sha256 = "1l0bqb5h2fs7vx2r8nd6kscyyrrqc0gshnxwdz9p6clfnknyqbqw"; + propagatedBuildInputs = [ attempt transformers ]; + meta = { + homepage = "http://github.com/snoyberg/control-monad-attempt"; + description = "Monad transformer for attempt."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/cprng-aes/default.nix b/pkgs/development/libraries/haskell/cprng-aes/default.nix new file mode 100644 index 0000000000000..66bc5461ca833 --- /dev/null +++ b/pkgs/development/libraries/haskell/cprng-aes/default.nix @@ -0,0 +1,15 @@ +{cabal, cereal, cryptoApi, cryptocipher} : + +cabal.mkDerivation (self : { + pname = "cprng-aes"; + version = "0.2.1"; + sha256 = "0q6qkvha7cckz3zjnzfsrx298arzbdavy1f73hygrd8f7n74442j"; + propagatedBuildInputs = [ cereal cryptoApi cryptocipher ]; + meta = { + homepage = "http://github.com/vincenthz/hs-cprng-aes"; + description = "Crypto Pseudo Random Number Generator using AES in counter mode."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/crypto-api/default.nix b/pkgs/development/libraries/haskell/crypto-api/default.nix new file mode 100644 index 0000000000000..5c7946bcc03ef --- /dev/null +++ b/pkgs/development/libraries/haskell/crypto-api/default.nix @@ -0,0 +1,15 @@ +{cabal, cereal, entropy, largeword, tagged} : + +cabal.mkDerivation (self : { + pname = "crypto-api"; + version = "0.6.4"; + sha256 = "1v3nnfw13r514a723lsx8d1awlad6fmv27bgp76f1ssv1garraf3"; + propagatedBuildInputs = [ cereal entropy largeword tagged ]; + meta = { + homepage = "http://trac.haskell.org/crypto-api/wiki"; + description = "A generic interface for cryptographic operations"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/cryptocipher/default.nix b/pkgs/development/libraries/haskell/cryptocipher/default.nix new file mode 100644 index 0000000000000..92cbbe99b170f --- /dev/null +++ b/pkgs/development/libraries/haskell/cryptocipher/default.nix @@ -0,0 +1,17 @@ +{cabal, cereal, cryptoApi, primitive, tagged, vector} : + +cabal.mkDerivation (self : { + pname = "cryptocipher"; + version = "0.2.14"; + sha256 = "1r91d9sqc53c628z378fyah7vvmkakvxpwbslam0yhfgp2p0l23z"; + propagatedBuildInputs = [ + cereal cryptoApi primitive tagged vector + ]; + meta = { + homepage = "http://github.com/vincenthz/hs-cryptocipher"; + description = "Symmetrical Block, Stream and PubKey Ciphers"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/cryptohash/default.nix b/pkgs/development/libraries/haskell/cryptohash/default.nix new file mode 100644 index 0000000000000..981f406544b48 --- /dev/null +++ b/pkgs/development/libraries/haskell/cryptohash/default.nix @@ -0,0 +1,15 @@ +{cabal, cereal, cryptoApi, tagged} : + +cabal.mkDerivation (self : { + pname = "cryptohash"; + version = "0.7.0"; + sha256 = "1vlyy8licdfr2nggjasikrkl209x1cyzcz4mjm5n22f7fwyqh4nm"; + propagatedBuildInputs = [ cereal cryptoApi tagged ]; + meta = { + homepage = "http://github.com/vincenthz/hs-cryptohash"; + description = "collection of crypto hashes, fast, pure and practical"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/entropy/default.nix b/pkgs/development/libraries/haskell/entropy/default.nix new file mode 100644 index 0000000000000..6b2a3418e7dfa --- /dev/null +++ b/pkgs/development/libraries/haskell/entropy/default.nix @@ -0,0 +1,14 @@ +{cabal} : + +cabal.mkDerivation (self : { + pname = "entropy"; + version = "0.2.1"; + sha256 = "1qp8hvdzfgg2wk7d431qycwbn2zpzlplc1c7dbhimj1had5jscrs"; + meta = { + homepage = "http://trac.haskell.org/crypto-api/wiki"; + description = "A platform independent entropy source"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/file-embed/default.nix b/pkgs/development/libraries/haskell/file-embed/default.nix new file mode 100644 index 0000000000000..2b47324786527 --- /dev/null +++ b/pkgs/development/libraries/haskell/file-embed/default.nix @@ -0,0 +1,14 @@ +{cabal} : + +cabal.mkDerivation (self : { + pname = "file-embed"; + version = "0.0.4.1"; + sha256 = "156ydqljhxp16192s4pj6h8jcvrfmj2lnsvzy0zg394wi97bxpi2"; + meta = { + homepage = "http://github.com/snoyberg/file-embed/tree/master"; + description = "Use Template Haskell to embed file contents directly."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/hjsmin/default.nix b/pkgs/development/libraries/haskell/hjsmin/default.nix new file mode 100644 index 0000000000000..29f2190dde4dd --- /dev/null +++ b/pkgs/development/libraries/haskell/hjsmin/default.nix @@ -0,0 +1,15 @@ +{cabal, blazeBuilder, languageJavascript, text} : + +cabal.mkDerivation (self : { + pname = "hjsmin"; + version = "0.0.14"; + sha256 = "16053hnxnr9vsqvasbibjwjdg0jpsl5fwzgy54ac1xkh4rhp3a5i"; + propagatedBuildInputs = [ blazeBuilder languageJavascript text ]; + meta = { + homepage = "http://github.com/alanz/hjsmin"; + description = "Haskell implementation of a javascript minifier"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/http-enumerator/default.nix b/pkgs/development/libraries/haskell/http-enumerator/default.nix new file mode 100644 index 0000000000000..3c9ae3b1bda09 --- /dev/null +++ b/pkgs/development/libraries/haskell/http-enumerator/default.nix @@ -0,0 +1,24 @@ +{cabal, asn1Data, attoparsec, attoparsecEnumerator, + base64Bytestring, blazeBuilder, blazeBuilderEnumerator, + caseInsensitive, certificate, cprngAes, enumerator, failure, + httpTypes, monadControl, network, tls, tlsExtra, transformers, + utf8String, zlibEnum} : + +cabal.mkDerivation (self : { + pname = "http-enumerator"; + version = "0.6.5.6"; + sha256 = "1b2hfqya562f2aj5fh9abr9zq4gx327jdlyja5wzcx01hzlavvcn"; + propagatedBuildInputs = [ + asn1Data attoparsec attoparsecEnumerator base64Bytestring + blazeBuilder blazeBuilderEnumerator caseInsensitive certificate + cprngAes enumerator failure httpTypes monadControl network tls + tlsExtra transformers utf8String zlibEnum + ]; + meta = { + homepage = "http://github.com/snoyberg/http-enumerator"; + description = "HTTP client package with enumerator interface and HTTPS support."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/language-javascript/default.nix b/pkgs/development/libraries/haskell/language-javascript/default.nix new file mode 100644 index 0000000000000..8af6205a36ae4 --- /dev/null +++ b/pkgs/development/libraries/haskell/language-javascript/default.nix @@ -0,0 +1,16 @@ +{cabal, mtl, utf8Light, alex, happy} : + +cabal.mkDerivation (self : { + pname = "language-javascript"; + version = "0.4.5"; + sha256 = "0rsggjpxsvaipkibhl90qcj2w2i16g53srbb54v0hajx2msmi0ci"; + extraBuildInputs = [ alex happy ]; + propagatedBuildInputs = [ mtl utf8Light ]; + meta = { + homepage = "http://github.com/alanz/language-javascript"; + description = "Parser for JavaScript"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/largeword/default.nix b/pkgs/development/libraries/haskell/largeword/default.nix new file mode 100644 index 0000000000000..5ba2b26bb666c --- /dev/null +++ b/pkgs/development/libraries/haskell/largeword/default.nix @@ -0,0 +1,14 @@ +{cabal} : + +cabal.mkDerivation (self : { + pname = "largeword"; + version = "1.0.0"; + sha256 = "1122isizlx807zv26j0sx71iw39nn3sja6mr2pf4sd456m1vmx8r"; + meta = { + homepage = "http://trac.haskell.org/largeword/wiki"; + description = "Provides Word128, Word192 and Word256 and a way of producing other large words if required."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/mime-mail/default.nix b/pkgs/development/libraries/haskell/mime-mail/default.nix new file mode 100644 index 0000000000000..c797f59aa87ba --- /dev/null +++ b/pkgs/development/libraries/haskell/mime-mail/default.nix @@ -0,0 +1,15 @@ +{cabal, blazeBuilder, dataenc, text} : + +cabal.mkDerivation (self : { + pname = "mime-mail"; + version = "0.3.0.2"; + sha256 = "0jbhkghzj2wn1200917lr5vjx50maakakl3asfz6x1chprbqkdsx"; + propagatedBuildInputs = [ blazeBuilder dataenc text ]; + meta = { + homepage = "http://github.com/snoyberg/mime-mail"; + description = "Compose MIME email messages."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/pureMD5/default.nix b/pkgs/development/libraries/haskell/pureMD5/default.nix index 34b78092b6628..e261ab8ea675c 100644 --- a/pkgs/development/libraries/haskell/pureMD5/default.nix +++ b/pkgs/development/libraries/haskell/pureMD5/default.nix @@ -1,14 +1,14 @@ -{cabal, binary}: +{cabal, binary, cereal, cryptoApi, tagged} : cabal.mkDerivation (self : { pname = "pureMD5"; - version = "1.0.0.3"; - sha256 = "3698e5bc8a0e20bed91b52f976235e52f2c1dd876aa40e94d6c7be293d67d482"; - propagatedBuildInputs = [binary]; + version = "2.1.0.3"; + sha256 = "0whlsb6zq4zcp3wq0bd6pgcsl0namr8b2s6i4l5aykq8v7fx40ii"; + propagatedBuildInputs = [ binary cereal cryptoApi tagged ]; meta = { - description = "An unrolled implementation of MD5 purely in Haskell"; - license = "BSD"; - maintainers = [self.stdenv.lib.maintainers.andres]; + description = "A Haskell-only implementation of the MD5 digest (hash) algorithm."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; }; }) - diff --git a/pkgs/development/libraries/haskell/semigroups/default.nix b/pkgs/development/libraries/haskell/semigroups/default.nix index 74e4cc01c301f..187f233d5fa93 100755 --- a/pkgs/development/libraries/haskell/semigroups/default.nix +++ b/pkgs/development/libraries/haskell/semigroups/default.nix @@ -8,5 +8,10 @@ cabal.mkDerivation (self : { homepage = "http://github.com/ekmett/semigroups/"; description = "Haskell 98 semigroups"; license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; }; }) diff --git a/pkgs/development/libraries/haskell/tls-extra/default.nix b/pkgs/development/libraries/haskell/tls-extra/default.nix new file mode 100644 index 0000000000000..b6e4bbc74b2bc --- /dev/null +++ b/pkgs/development/libraries/haskell/tls-extra/default.nix @@ -0,0 +1,19 @@ +{cabal, certificate, cryptoApi, cryptocipher, cryptohash, mtl, + network, text, tls, vector} : + +cabal.mkDerivation (self : { + pname = "tls-extra"; + version = "0.3.1"; + sha256 = "1zj8l5nglfaarbbzb1icil6cp6rjqfs33nryxc34akz22zwwmln4"; + propagatedBuildInputs = [ + certificate cryptoApi cryptocipher cryptohash mtl network text tls + vector + ]; + meta = { + homepage = "http://github.com/vincenthz/hs-tls-extra"; + description = "TLS extra default values and helpers"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/tls/default.nix b/pkgs/development/libraries/haskell/tls/default.nix new file mode 100644 index 0000000000000..6fba1be693d5a --- /dev/null +++ b/pkgs/development/libraries/haskell/tls/default.nix @@ -0,0 +1,18 @@ +{cabal, cereal, certificate, cryptoApi, cryptocipher, cryptohash, + mtl} : + +cabal.mkDerivation (self : { + pname = "tls"; + version = "0.7.2"; + sha256 = "0x24jf83sfsnpvfm645lng5bc21zsbv6mbagr6q1q71zhfzfyb74"; + propagatedBuildInputs = [ + cereal certificate cryptoApi cryptocipher cryptohash mtl + ]; + meta = { + homepage = "http://github.com/vincenthz/hs-tls"; + description = "TLS/SSL protocol native implementation (Server and Client)"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/utf8-light/default.nix b/pkgs/development/libraries/haskell/utf8-light/default.nix new file mode 100644 index 0000000000000..370fbbd6b95f1 --- /dev/null +++ b/pkgs/development/libraries/haskell/utf8-light/default.nix @@ -0,0 +1,13 @@ +{cabal} : + +cabal.mkDerivation (self : { + pname = "utf8-light"; + version = "0.4.0.1"; + sha256 = "1y2vfxjgq8r90bpaxhha0s837vklpwdj4cj3h61bimc0lcx22905"; + meta = { + description = "Unicode"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/wai-app-static/default.nix b/pkgs/development/libraries/haskell/wai-app-static/default.nix new file mode 100644 index 0000000000000..d4ce90ccba62d --- /dev/null +++ b/pkgs/development/libraries/haskell/wai-app-static/default.nix @@ -0,0 +1,19 @@ +{cabal, blazeBuilder, blazeHtml, fileEmbed, httpTypes, text, + transformers, unixCompat, wai} : + +cabal.mkDerivation (self : { + pname = "wai-app-static"; + version = "0.1.0"; + sha256 = "0k9pl1kanrb2pqp1bs5s1lxb7ayq2ddf2cxi5q2v9yq22s229xln"; + propagatedBuildInputs = [ + blazeBuilder blazeHtml fileEmbed httpTypes text transformers + unixCompat wai + ]; + meta = { + homepage = "http://www.yesodweb.com/"; + description = "WAI application for static serving"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/xml-enumerator/default.nix b/pkgs/development/libraries/haskell/xml-enumerator/default.nix new file mode 100644 index 0000000000000..f75097a057b6d --- /dev/null +++ b/pkgs/development/libraries/haskell/xml-enumerator/default.nix @@ -0,0 +1,21 @@ +{cabal, attoparsecText, attoparsecTextEnumerator, blazeBuilder, + blazeBuilderEnumerator, enumerator, failure, text, transformers, + xmlTypes} : + +cabal.mkDerivation (self : { + pname = "xml-enumerator"; + version = "0.3.4"; + sha256 = "0sfscsfcfmx56sdxc0wn2j1pyqjd9w92igz1n9xaph7zfz61g9k2"; + propagatedBuildInputs = [ + attoparsecText attoparsecTextEnumerator blazeBuilder + blazeBuilderEnumerator enumerator failure text transformers + xmlTypes + ]; + meta = { + homepage = "http://github.com/snoyberg/xml-enumerator"; + description = "Pure-Haskell utilities for dealing with XML with the enumerator package."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/xml-types/default.nix b/pkgs/development/libraries/haskell/xml-types/default.nix new file mode 100644 index 0000000000000..fd533e604a80b --- /dev/null +++ b/pkgs/development/libraries/haskell/xml-types/default.nix @@ -0,0 +1,14 @@ +{cabal, text} : + +cabal.mkDerivation (self : { + pname = "xml-types"; + version = "0.3"; + sha256 = "0d0x7s865ca7bscskp6s7zyzpzd22nkd61wzwg11v6h0q5dilly7"; + propagatedBuildInputs = [ text ]; + meta = { + description = "Basic types for representing XML"; + license = self.stdenv.lib.licenses.mit; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/yesod-auth/default.nix b/pkgs/development/libraries/haskell/yesod-auth/default.nix new file mode 100644 index 0000000000000..f88aac50f2f85 --- /dev/null +++ b/pkgs/development/libraries/haskell/yesod-auth/default.nix @@ -0,0 +1,23 @@ +{cabal, SHA, aeson, authenticate, blazeHtml, controlMonadAttempt, + hamlet, httpEnumerator, mimeMail, persistent, persistentTemplate, + pureMD5, text, transformers, wai, webRoutesQuasi, yesodCore, + yesodForm, yesodJson, yesodPersistent} : + +cabal.mkDerivation (self : { + pname = "yesod-auth"; + version = "0.4.0.2"; + sha256 = "1vf02kgm3pcak4igvp8009lgv8i8bir272byw0ma2mg6bl0sgyvl"; + propagatedBuildInputs = [ + SHA aeson authenticate blazeHtml controlMonadAttempt hamlet + httpEnumerator mimeMail persistent persistentTemplate pureMD5 text + transformers wai webRoutesQuasi yesodCore yesodForm yesodJson + yesodPersistent + ]; + meta = { + homepage = "http://www.yesodweb.com/"; + description = "Authentication for Yesod."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/yesod-form/default.nix b/pkgs/development/libraries/haskell/yesod-form/default.nix index 4a423ee59b31b..3d18e714ad844 100644 --- a/pkgs/development/libraries/haskell/yesod-form/default.nix +++ b/pkgs/development/libraries/haskell/yesod-form/default.nix @@ -1,15 +1,15 @@ {cabal, blazeBuilder, blazeHtml, dataDefault, emailValidate, - hamlet, network, persistent, text, transformers, wai, - webRoutesQuasi, xssSanitize, yesodCore, yesodPersistent} : + hamlet, network, persistent, text, transformers, webRoutesQuasi, + xssSanitize, yesodCore, yesodPersistent} : cabal.mkDerivation (self : { pname = "yesod-form"; - version = "0.2.0.1"; - sha256 = "17ap5jf433s8a3k97vskvc7wxa8qdx03fynh3881zg5s1kqj3b3r"; + version = "0.1.0.1"; + sha256 = "108652256g82xapsn0w4cbficq4ikwlsa8yis2zq7izxk48livlm"; propagatedBuildInputs = [ blazeBuilder blazeHtml dataDefault emailValidate hamlet network - persistent text transformers wai webRoutesQuasi xssSanitize - yesodCore yesodPersistent + persistent text transformers webRoutesQuasi xssSanitize yesodCore + yesodPersistent ]; meta = { homepage = "http://www.yesodweb.com/"; diff --git a/pkgs/development/libraries/haskell/yesod-static/default.nix b/pkgs/development/libraries/haskell/yesod-static/default.nix new file mode 100644 index 0000000000000..797b6ec4c5da7 --- /dev/null +++ b/pkgs/development/libraries/haskell/yesod-static/default.nix @@ -0,0 +1,19 @@ +{cabal, base64Bytestring, cereal, pureMD5, text, transformers, + waiAppStatic, yesodCore} : + +cabal.mkDerivation (self : { + pname = "yesod-static"; + version = "0.1.0.1"; + sha256 = "0icb1wp0ndvl54shjyv0apmias60j2gjbcv7i92dxnl3fzx74d3p"; + propagatedBuildInputs = [ + base64Bytestring cereal pureMD5 text transformers waiAppStatic + yesodCore + ]; + meta = { + homepage = "http://www.yesodweb.com/"; + description = "Static file serving subsite for Yesod Web Framework."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/yesod/default.nix b/pkgs/development/libraries/haskell/yesod/default.nix new file mode 100644 index 0000000000000..1ed2e0f809963 --- /dev/null +++ b/pkgs/development/libraries/haskell/yesod/default.nix @@ -0,0 +1,22 @@ +{cabal, attoparsecText, blazeBuilder, hamlet, hjsmin, httpTypes, + mimeMail, monadControl, parsec, text, transformers, unixCompat, + wai, waiExtra, warp, yesodAuth, yesodCore, yesodForm, yesodJson, + yesodPersistent, yesodStatic} : + +cabal.mkDerivation (self : { + pname = "yesod"; + version = "0.8.2.1"; + sha256 = "0idpgzbzy31bl5khc83wgi9a9mzrymris0mg5dlc4kj4sd5a1ksi"; + propagatedBuildInputs = [ + attoparsecText blazeBuilder hamlet hjsmin httpTypes mimeMail + monadControl parsec text transformers unixCompat wai waiExtra warp + yesodAuth yesodCore yesodForm yesodJson yesodPersistent yesodStatic + ]; + meta = { + homepage = "http://www.yesodweb.com/"; + description = "Creation of type-safe, RESTful web applications."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/zlib-enum/default.nix b/pkgs/development/libraries/haskell/zlib-enum/default.nix new file mode 100644 index 0000000000000..99f64c3df1369 --- /dev/null +++ b/pkgs/development/libraries/haskell/zlib-enum/default.nix @@ -0,0 +1,15 @@ +{cabal, enumerator, transformers, zlibBindings} : + +cabal.mkDerivation (self : { + pname = "zlib-enum"; + version = "0.2.1"; + sha256 = "0cnx7sbgj6s0gvq6pcqyi3xahx7x3bj47ap10z89qfbk0906rkq8"; + propagatedBuildInputs = [ enumerator transformers zlibBindings ]; + meta = { + homepage = "http://github.com/maltem/zlib-enum"; + description = "Enumerator interface for zlib compression"; + license = self.stdenv.lib.licenses.mit; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) |