forked from mirrors/nixpkgs
Add recent versions of the Haskell libraries HTTP, HaXml, haxr, and haxr-th. Unfortunately, the latter library doesn't build successfully because of the following error:
Setup: ../LICENSE: copyFile: does not exist (No such file or directory) I'm not sure where this comes from. Also, it seems that passing haxr-th the library haxr as a build input doesn't suffice; it also needs to be passed the libraries that haxr depends on to configure successfully. Something isn't right. Andreas, do you know how to fix this? svn path=/nixpkgs/trunk/; revision=12722
This commit is contained in:
parent
5b732a061f
commit
f6374fbc5b
11
pkgs/development/libraries/haskell/HTTP/default.nix
Normal file
11
pkgs/development/libraries/haskell/HTTP/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "HTTP";
|
||||
version = "3001.0.0";
|
||||
sha256 = "0d1ixrylb7vl5q963r31jc8gsqm24bkjas4dyi6ks8kbhzrgrw17";
|
||||
meta = {
|
||||
description = "a Haskell library for client-side HTTP";
|
||||
};
|
||||
})
|
||||
|
11
pkgs/development/libraries/haskell/HaXml/default.nix
Normal file
11
pkgs/development/libraries/haskell/HaXml/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "HaXml";
|
||||
version = "1.13.3";
|
||||
sha256 = "08d9wy0rg9m66dd10x0zvkl74l25vxdakz7xp3j88s2gd31jp1v0";
|
||||
meta = {
|
||||
description = "Haskell utilities for parsing, filtering, transforming and generating XML documents.";
|
||||
};
|
||||
})
|
||||
|
11
pkgs/development/libraries/haskell/haxr-th/default.nix
Normal file
11
pkgs/development/libraries/haskell/haxr-th/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{cabal, haxr, HaXml, HTTP}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "haxr-th";
|
||||
version = "3000.0.0";
|
||||
sha256 = "00wqhri2fljjds6rwws0hgk7z27ii1lgvxr8db2li0780q5fa6ic";
|
||||
meta = {
|
||||
description = "Automatic deriving of XML-RPC structs for Haskell records.";
|
||||
};
|
||||
propagatedBuildInputs = [HaXml HTTP haxr];
|
||||
})
|
12
pkgs/development/libraries/haskell/haxr/default.nix
Normal file
12
pkgs/development/libraries/haskell/haxr/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{cabal, HaXml, HTTP}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "haxr";
|
||||
version = "3000.0.1";
|
||||
sha256 = "1sppfd8qyqggfh5m8phxdn40x17g97q6j3a8d5wspy7kcmg2qaci";
|
||||
meta = {
|
||||
description = "a Haskell library for writing XML-RPC client and server applications";
|
||||
};
|
||||
propagatedBuildInputs = [HaXml HTTP];
|
||||
})
|
||||
|
|
@ -3755,6 +3755,18 @@ let pkgs = rec {
|
|||
inherit (gnome) gtk glib GConf libglade libgtkhtml gtkhtml;
|
||||
};
|
||||
|
||||
haxr = import ../development/libraries/haskell/haxr {
|
||||
inherit cabal HaXml HTTP;
|
||||
};
|
||||
|
||||
haxr_th = import ../development/libraries/haskell/haxr-th {
|
||||
inherit cabal haxr HaXml HTTP;
|
||||
};
|
||||
|
||||
HaXml = import ../development/libraries/haskell/HaXml {
|
||||
inherit cabal;
|
||||
};
|
||||
|
||||
haskellEditline = import ../development/libraries/haskell/editline {
|
||||
inherit cabal editline;
|
||||
};
|
||||
|
@ -3771,6 +3783,10 @@ let pkgs = rec {
|
|||
inherit cabal HDBC sqlite;
|
||||
};
|
||||
|
||||
HTTP = import ../development/libraries/haskell/HTTP {
|
||||
inherit cabal;
|
||||
};
|
||||
|
||||
pcreLight = import ../development/libraries/haskell/pcre-light {
|
||||
inherit cabal pcre;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue