mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #119 from dmalikov/master
Add haskellPackages.liblastfm
This commit is contained in:
commit
8de7a575f5
6 changed files with 53 additions and 2 deletions
15
pkgs/development/libraries/haskell/liblastfm/default.nix
Normal file
15
pkgs/development/libraries/haskell/liblastfm/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ cabal, aeson, curl, mtl, pureMD5, urlencoded, utf8String, xml }:
|
||||||
|
|
||||||
|
cabal.mkDerivation (self: {
|
||||||
|
pname = "liblastfm";
|
||||||
|
version = "0.0.3.4";
|
||||||
|
sha256 = "1d8fypl9s64jpsr8hygyfqq6jzv1bvd22zq4f93xsffpvv7nqnyk";
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
})
|
13
pkgs/development/libraries/haskell/split/0.1.4.3.nix
Normal file
13
pkgs/development/libraries/haskell/split/0.1.4.3.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ cabal }:
|
||||||
|
|
||||||
|
cabal.mkDerivation (self: {
|
||||||
|
pname = "split";
|
||||||
|
version = "0.1.4.3";
|
||||||
|
sha256 = "1i9vmb0zvmhqj6qcbnsapsk9lhsyzznz336c8s7v4sz20s99hsby";
|
||||||
|
meta = {
|
||||||
|
homepage = "http://code.haskell.org/~byorgey/code/split";
|
||||||
|
description = "Combinator library for splitting lists";
|
||||||
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
platforms = self.ghc.meta.platforms;
|
||||||
|
};
|
||||||
|
})
|
16
pkgs/development/libraries/haskell/urlencoded/default.nix
Normal file
16
pkgs/development/libraries/haskell/urlencoded/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{ cabal, mtl, network, split }:
|
||||||
|
|
||||||
|
cabal.mkDerivation (self: {
|
||||||
|
pname = "urlencoded";
|
||||||
|
version = "0.3.0.1";
|
||||||
|
sha256 = "1i6r05d5libcilngsa6illcazfv6g4rhibzgk8c2jsjq9cg53ihz";
|
||||||
|
isLibrary = true;
|
||||||
|
isExecutable = true;
|
||||||
|
buildDepends = [ mtl network split ];
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/pheaver/urlencoded";
|
||||||
|
description = "Generate or process x-www-urlencoded data";
|
||||||
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
platforms = self.ghc.meta.platforms;
|
||||||
|
};
|
||||||
|
})
|
|
@ -6980,7 +6980,6 @@ let
|
||||||
git = gitAndTools.git;
|
git = gitAndTools.git;
|
||||||
gitFull = gitAndTools.gitFull;
|
gitFull = gitAndTools.gitFull;
|
||||||
gitSVN = gitAndTools.gitSVN;
|
gitSVN = gitAndTools.gitSVN;
|
||||||
tig = gitAndTools.tig;
|
|
||||||
|
|
||||||
giv = callPackage ../applications/graphics/giv {
|
giv = callPackage ../applications/graphics/giv {
|
||||||
pcre = pcre.override { unicodeSupport = true; };
|
pcre = pcre.override { unicodeSupport = true; };
|
||||||
|
@ -7719,6 +7718,8 @@ let
|
||||||
inherit (gnome) libIDL;
|
inherit (gnome) libIDL;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tig = gitAndTools.tig;
|
||||||
|
|
||||||
timidity = callPackage ../tools/misc/timidity { };
|
timidity = callPackage ../tools/misc/timidity { };
|
||||||
|
|
||||||
tkcvs = callPackage ../applications/version-management/tkcvs { };
|
tkcvs = callPackage ../applications/version-management/tkcvs { };
|
||||||
|
|
|
@ -1016,6 +1016,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
|
|
||||||
libmpd = callPackage ../development/libraries/haskell/libmpd {};
|
libmpd = callPackage ../development/libraries/haskell/libmpd {};
|
||||||
|
|
||||||
|
liblastfm = callPackage ../development/libraries/haskell/liblastfm {};
|
||||||
|
|
||||||
liftedBase = callPackage ../development/libraries/haskell/lifted-base {};
|
liftedBase = callPackage ../development/libraries/haskell/lifted-base {};
|
||||||
|
|
||||||
ListLike = callPackage ../development/libraries/haskell/ListLike {};
|
ListLike = callPackage ../development/libraries/haskell/ListLike {};
|
||||||
|
@ -1408,7 +1410,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
|
|
||||||
SMTPClient = callPackage ../development/libraries/haskell/SMTPClient {};
|
SMTPClient = callPackage ../development/libraries/haskell/SMTPClient {};
|
||||||
|
|
||||||
split = callPackage ../development/libraries/haskell/split {};
|
split_0_1_4_3 = callPackage ../development/libraries/haskell/split/0.1.4.3.nix {};
|
||||||
|
split_0_2 = callPackage ../development/libraries/haskell/split/0.2.nix {};
|
||||||
|
split = self.split_0_2;
|
||||||
|
|
||||||
stbImage = callPackage ../development/libraries/haskell/stb-image {};
|
stbImage = callPackage ../development/libraries/haskell/stb-image {};
|
||||||
|
|
||||||
|
@ -1522,6 +1526,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
|
|
||||||
url = callPackage ../development/libraries/haskell/url {};
|
url = callPackage ../development/libraries/haskell/url {};
|
||||||
|
|
||||||
|
urlencoded = callPackage ../development/libraries/haskell/urlencoded { split = self.split_0_1_4_3; };
|
||||||
|
|
||||||
utf8Light = callPackage ../development/libraries/haskell/utf8-light {};
|
utf8Light = callPackage ../development/libraries/haskell/utf8-light {};
|
||||||
|
|
||||||
utf8String = callPackage ../development/libraries/haskell/utf8-string {};
|
utf8String = callPackage ../development/libraries/haskell/utf8-string {};
|
||||||
|
|
Loading…
Reference in a new issue