1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/haskell/liblastfm/default.nix

19 lines
545 B
Nix
Raw Normal View History

2012-09-05 19:38:07 +01:00
{ cabal, aeson, curl, mtl, pureMD5, urlencoded, utf8String, xml }:
cabal.mkDerivation (self: {
pname = "liblastfm";
version = "0.0.3.6";
sha256 = "0xmrciv489dvksgpg9g83kna34x1amsx45wvpngcpnx4m44fcp4w";
2012-09-05 19:38:07 +01:00
buildDepends = [
aeson curl mtl pureMD5 urlencoded utf8String xml
];
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;
};
})