2012-02-16 15:05:41 +01:00
|
|
|
{ cabal, cereal, cryptoApi, tagged }:
|
2011-09-21 18:46:59 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "skein";
|
2012-02-01 11:40:02 +01:00
|
|
|
version = "0.1.0.5";
|
|
|
|
sha256 = "12hyyydznss802v4pwfcpjr0y7241114a9z82xxq60q8dval8fyb";
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ cereal cryptoApi tagged ];
|
2012-04-19 13:16:36 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|tagged *>= 0.2 && < 0.3|tagged|' -e 's|crypto-api *>= 0.6 && < 0.10|crypto-api|' skein.cabal
|
|
|
|
'';
|
2011-09-21 18:46:59 +02:00
|
|
|
meta = {
|
|
|
|
description = "Skein, a family of cryptographic hash functions. Includes Skein-MAC as well.";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-09-21 18:46:59 +02:00
|
|
|
};
|
|
|
|
})
|