summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/liblastfm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/liblastfm/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/liblastfm/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/liblastfm/default.nix b/pkgs/development/libraries/haskell/liblastfm/default.nix
new file mode 100644
index 000000000000..17489b157a2b
--- /dev/null
+++ b/pkgs/development/libraries/haskell/liblastfm/default.nix
@@ -0,0 +1,15 @@
+{ cabal, aeson, curl, mtl, pureMD5, urlencoded, utf8String, xml }:
+
+cabal.mkDerivation (self: {
+  pname = "liblastfm";
+  version = "0.0.3.6";
+  sha256 = "0xmrciv489dvksgpg9g83kna34x1amsx45wvpngcpnx4m44fcp4w";
+  buildDepends = [
+    aeson curl mtl pureMD5 urlencoded utf8String xml
+  ];
+  meta = {
+    description = "Wrapper to Lastfm API";
+    license = self.stdenv.lib.licenses.mit;
+    platforms = self.ghc.meta.platforms;
+  };
+})