2012-09-05 19:38:07 +01:00
|
|
|
{ cabal, aeson, curl, mtl, pureMD5, urlencoded, utf8String, xml }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "liblastfm";
|
2012-09-24 11:06:07 +01:00
|
|
|
version = "0.0.3.6";
|
|
|
|
sha256 = "0xmrciv489dvksgpg9g83kna34x1amsx45wvpngcpnx4m44fcp4w";
|
2012-09-05 19:38:07 +01:00
|
|
|
buildDepends = [
|
|
|
|
aeson curl mtl pureMD5 urlencoded utf8String xml
|
|
|
|
];
|
2012-11-15 11:43:50 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|curl == .*,|curl,|' -e 's|urlencoded .*,|urlencoded,|' liblastfm.cabal
|
|
|
|
'';
|
2012-09-05 19:38:07 +01:00
|
|
|
meta = {
|
|
|
|
description = "Wrapper to Lastfm API";
|
|
|
|
license = self.stdenv.lib.licenses.mit;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|