diff --git a/pkgs/development/libraries/haskell/smtps-gmail/default.nix b/pkgs/development/libraries/haskell/smtps-gmail/default.nix index d41a37d1e5be..0dfb2ab5665a 100644 --- a/pkgs/development/libraries/haskell/smtps-gmail/default.nix +++ b/pkgs/development/libraries/haskell/smtps-gmail/default.nix @@ -1,23 +1,19 @@ -{ cabal, base64String, cprngAes, network, tlsExtra, utf8String +{ cabal, base64Bytestring, cprngAes, dataDefault, filepath +, mimeMail, network, stringsearch, text, tls }: cabal.mkDerivation (self: { pname = "smtps-gmail"; - version = "1.0.0"; - sha256 = "0kv5m8rg5z1iic10av3bscdygnph1iab4b22sq3hmx6a93abqkc2"; - isLibrary = true; - isExecutable = true; + version = "1.1.0"; + sha256 = "0zr2ndpwfnb9pkv69vx94p0vpghl0khd0wbmccjpk6hlrp6fsj66"; buildDepends = [ - base64String cprngAes network tlsExtra utf8String + base64Bytestring cprngAes dataDefault filepath mimeMail network + stringsearch text tls ]; meta = { homepage = "https://github.com/enzoh/smtps-gmail"; - description = "Gmail API"; + description = "Gmail SMTP Client"; license = self.stdenv.lib.licenses.bsd3; platforms = self.ghc.meta.platforms; }; - # adding a Setup script as it's needed by nix - preConfigure = '' - printf "import Distribution.Simple\nmain = defaultMain\n" > Setup.hs - ''; })