diff options
author | tv <tv@shackspace.de> | 2015-02-20 12:15:51 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-02-20 12:15:51 +0100 |
commit | 42547dc1c81411c9ae6ffa62d00249060b48021b (patch) | |
tree | 2ca5018bfe3ce7d37ee041edcaaed8fcc81e08a2 /nix | |
parent | da7bf1ca587f66857b496f707bc3271cf366fcd3 (diff) |
use haskell-ng
Diffstat (limited to 'nix')
-rw-r--r-- | nix/email-header.nix | 28 | ||||
-rw-r--r-- | nix/friendly-time/default.nix | 17 | ||||
-rw-r--r-- | nix/mime-mail.nix | 26 |
3 files changed, 23 insertions, 48 deletions
diff --git a/nix/email-header.nix b/nix/email-header.nix index 10e1c79..a6caea2 100644 --- a/nix/email-header.nix +++ b/nix/email-header.nix @@ -1,10 +1,8 @@ -# This file was auto-generated by cabal2nix. Please do NOT edit manually! - -{ cabal, attoparsec, base64Bytestring, caseInsensitive, exceptions -, fetchgit, QuickCheck, tasty, tastyQuickcheck, text, textIcu, time +{ mkDerivation, attoparsec, base, base64-bytestring, bytestring +, case-insensitive, containers, exceptions, fetchgit, QuickCheck +, stdenv, tasty, tasty-quickcheck, text, text-icu, time }: - -cabal.mkDerivation (self: { +mkDerivation { pname = "email-header"; version = "0.3.0"; src = fetchgit { @@ -13,17 +11,15 @@ cabal.mkDerivation (self: { rev = "3ba16e71cf1fff92fd86199f893d89a40ca1275d"; }; buildDepends = [ - attoparsec base64Bytestring caseInsensitive exceptions text textIcu - time + attoparsec base base64-bytestring bytestring case-insensitive + containers exceptions text text-icu time ]; testDepends = [ - caseInsensitive QuickCheck tasty tastyQuickcheck text time + base bytestring case-insensitive containers QuickCheck tasty + tasty-quickcheck text time ]; jailbreak = true; - meta = { - homepage = "http://github.com/knrafto/email-header"; - description = "Parsing and rendering of email and MIME headers"; - license = self.stdenv.lib.licenses.bsd3; - platforms = self.ghc.meta.platforms; - }; -}) + homepage = "http://github.com/knrafto/email-header"; + description = "Parsing and rendering of email and MIME headers"; + license = stdenv.lib.licenses.bsd3; +} diff --git a/nix/friendly-time/default.nix b/nix/friendly-time/default.nix deleted file mode 100644 index 75f3309..0000000 --- a/nix/friendly-time/default.nix +++ /dev/null @@ -1,17 +0,0 @@ -# This file was auto-generated by cabal2nix. Please do NOT edit manually! - -{ cabal, HUnit, testFramework, testFrameworkHunit, time }: - -cabal.mkDerivation (self: { - pname = "friendly-time"; - version = "0.3"; - sha256 = "10p78qbb1c87d0ag6cwc7blgwaw8r5sbs00gp5qg3sh9x7n9l3nj"; - buildDepends = [ time ]; - testDepends = [ HUnit testFramework testFrameworkHunit time ]; - meta = { - homepage = "http://github.com/pbrisbin/friendly-time"; - description = "Print time information in friendly ways"; - license = self.stdenv.lib.licenses.bsd3; - platforms = self.ghc.meta.platforms; - }; -}) diff --git a/nix/mime-mail.nix b/nix/mime-mail.nix index 96c097e..e855038 100644 --- a/nix/mime-mail.nix +++ b/nix/mime-mail.nix @@ -1,10 +1,8 @@ -# This file was auto-generated by cabal2nix. Please do NOT edit manually! - -{ cabal, base64Bytestring, blazeBuilder, fetchgit, filepath, hspec -, random, sendmail ? "sendmail", text +{ mkDerivation, base, base64-bytestring, blaze-builder, bytestring +, fetchgit, filepath, hspec, process, random, sendmail ? "sendmail" +, stdenv, text }: - -cabal.mkDerivation (self: { +mkDerivation { pname = "mime-mail"; version = "0.4.6.2"; src = fetchgit { @@ -13,14 +11,12 @@ cabal.mkDerivation (self: { rev = "3d0f060fb4c58b69c72ce3b4911bff32df7329a7"; }; buildDepends = [ - base64Bytestring blazeBuilder filepath random text + base base64-bytestring blaze-builder bytestring filepath process + random text ]; - testDepends = [ blazeBuilder hspec text ]; + testDepends = [ base blaze-builder bytestring hspec text ]; configureFlags = "--ghc-option=-DMIME_MAIL_SENDMAIL_PATH=\"${sendmail}\""; - meta = { - homepage = "http://github.com/snoyberg/mime-mail"; - description = "Compose MIME email messages"; - license = self.stdenv.lib.licenses.mit; - platforms = self.ghc.meta.platforms; - }; -}) + homepage = "http://github.com/snoyberg/mime-mail"; + description = "Compose MIME email messages"; + license = stdenv.lib.licenses.mit; +} |