2012-11-26 15:16:18 +01:00
|
|
|
{ cabal, aeson, attoparsec, curl, mtl, pureMD5, urlencoded
|
|
|
|
, utf8String, xml
|
|
|
|
}:
|
2012-09-05 20:38:07 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "liblastfm";
|
2012-11-26 15:16:18 +01:00
|
|
|
version = "0.0.3.7";
|
|
|
|
sha256 = "004mi6515gd6vhk7fjd63rwwnf3micm3z1kwcn1f73hi70p27ma0";
|
2012-09-05 20:38:07 +02:00
|
|
|
buildDepends = [
|
2012-11-26 15:16:18 +01:00
|
|
|
aeson attoparsec curl mtl pureMD5 urlencoded utf8String xml
|
2012-09-05 20:38:07 +02:00
|
|
|
];
|
2012-11-15 12:43:50 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|curl == .*,|curl,|' -e 's|urlencoded .*,|urlencoded,|' liblastfm.cabal
|
|
|
|
'';
|
2012-09-05 20:38:07 +02:00
|
|
|
meta = {
|
|
|
|
description = "Wrapper to Lastfm API";
|
|
|
|
license = self.stdenv.lib.licenses.mit;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|