git.iko.soy/typeable/mandrill
on master help sign in
Merge pull request #7 from adinapoli/nix-support

Nix support

commit1d66ba8692a835059156f128e1b15a555d3afd56 authorAlfredo Di Napoli <alfredo.dinapoli@gmail.com> dateSun 9 Nov 2014, 19:05 (12 years ago) parenta62b3046c91c8c
3 files changed+28−2
.gitignore+1 default.nix+24 mandrill.cabal+3−2
.gitignore+1
@@ -1,3 +1,4 @@
11dist
22.cabal-sandbox
33cabal.sandbox.config
4+shell.nix
default.nixnew file+24
@@ -0,0 +1,24 @@
1+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2+
3+{ cabal, aeson, base64Bytestring, blazeHtml, emailValidate, lens
4+, mtl, QuickCheck, rawStringsQq, tasty, tastyHunit, tastyQuickcheck
5+, text, time, wreq
6+}:
7+
8+cabal.mkDerivation (self: {
9+ pname = "mandrill";
10+ version = "0.1.0.3";
11+ src = ./.;
12+ buildDepends = [
13+ aeson base64Bytestring blazeHtml emailValidate lens mtl QuickCheck
14+ text time wreq
15+ ];
16+ testDepends = [
17+ aeson QuickCheck rawStringsQq tasty tastyHunit tastyQuickcheck text
18+ ];
19+ meta = {
20+ description = "Library for interfacing with the Mandrill JSON API";
21+ license = self.stdenv.lib.licenses.mit;
22+ platforms = self.ghc.meta.platforms;
23+ };
24+})
mandrill.cabal+3−2
@@ -1,5 +1,5 @@
11name: mandrill
2−version: 0.1.0.2
2+version: 0.1.0.3
33synopsis: Library for interfacing with the Mandrill JSON API
44description: Pure Haskell client for the Mandrill JSON API
55license: MIT
@@ -38,7 +38,8 @@ library
3838 , text >= 1.0.0.0 && < 1.3
3939 , wreq >= 0.1.0.1
4040 , aeson >= 0.7.0.3 && < 0.9
41− , lens >= 4.1 && < 4.6
41+ -- Until wreq 0.3.0.0 won't be out we need lens 4.4
42+ , lens == 4.4
4243 , blaze-html >= 0.5.0.0
4344 , QuickCheck >= 2.6 && < 2.8
4445 , mtl < 3.0