haskell-SHA2: refer to AES library with its proper attribute

This commit is contained in:
Peter Simons 2014-07-03 16:51:55 +02:00
parent 609514d281
commit 837a8bcc80

View File

@ -1,14 +1,13 @@
{ cabal, aes, monadsTf, transformers }: { cabal, AES, monadsTf, transformers }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "SHA2"; pname = "SHA2";
version = "0.2.5"; version = "0.2.5";
sha256 = "1zs79a327x6myfam3p2vr8lmszcaqnkll2qz8n4sy835vz328j40"; sha256 = "1zs79a327x6myfam3p2vr8lmszcaqnkll2qz8n4sy835vz328j40";
buildDepends = [ aes monadsTf transformers ]; buildDepends = [ AES monadsTf transformers ];
meta = { meta = {
description = "Fast, incremental SHA hashing for bytestrings"; description = "Fast, incremental SHA hashing for bytestrings";
license = self.stdenv.lib.licenses.bsd3; license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms; platforms = self.ghc.meta.platforms;
}; };
}) })