* added haskell libraries: webserver, json 0.3.6, http 3001, base64string, CS173Tourney
* added dep on getopt to couchdb svn path=/nixpkgs/trunk/; revision=18201
This commit is contained in:
18
pkgs/development/libraries/haskell/CS173Tourney/default.nix
Normal file
18
pkgs/development/libraries/haskell/CS173Tourney/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{cabal, fetchgit, json, time, hslogger, Crypto, base64string, CouchDB, WebServer, WebServerExtras}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "CS173Tourney";
|
||||
version = "2.5.2";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/arjunguha/173tourney.git;
|
||||
rev = "dce044761b008cb685a675a1f35be6aff66fed21" ;
|
||||
md5 = "21e5e5c2e184b4b70696d4d6c60e51d3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [json time hslogger Crypto base64string CouchDB WebServer WebServerExtras];
|
||||
meta = {
|
||||
description = "";
|
||||
};
|
||||
})
|
||||
|
||||
14
pkgs/development/libraries/haskell/CouchDB/default.nix
Normal file
14
pkgs/development/libraries/haskell/CouchDB/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{cabal, network, json, HTTP, mtl}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "CouchDB";
|
||||
version = "0.8.1.1";
|
||||
|
||||
sha256 = "91edc35782e43a3b8dd5c5d3c303b88c05c57ba686e9565a11fe4d060f9372d7";
|
||||
|
||||
propagatedBuildInputs = [network HTTP mtl json];
|
||||
meta = {
|
||||
description = "";
|
||||
};
|
||||
})
|
||||
|
||||
12
pkgs/development/libraries/haskell/HTTP/3001.nix
Normal file
12
pkgs/development/libraries/haskell/HTTP/3001.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{cabal, mtl, network, parsec}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "HTTP";
|
||||
version = "3001.1.5";
|
||||
sha256 = "e34d9f979bafbbf2e45bf90a9ee9bfd291f3c67c291a250cc0a6378431578aeb";
|
||||
propagatedBuildInputs = [mtl network parsec];
|
||||
meta = {
|
||||
description = "a Haskell library for client-side HTTP";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{cabal, fetchgit, Crypto, WebServer, base64string, hslogger, json, mtl
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "WebServer-Extras";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/arjunguha/haskell-web.git;
|
||||
rev = "76c9aabd31d03f052a80a0f6999dc7c5f1b11c41" ;
|
||||
sha256 = "afd550a4c6aeffe2f3adb38556b8e9ae198e98db17338ea6c8fa92d56c7eddb7";
|
||||
};
|
||||
sourceRoot = "git-export/Extras";
|
||||
propagatedBuildInputs = [Crypto WebServer base64string hslogger json mtl];
|
||||
meta = {
|
||||
description = "";
|
||||
};
|
||||
})
|
||||
|
||||
18
pkgs/development/libraries/haskell/WebServer/default.nix
Normal file
18
pkgs/development/libraries/haskell/WebServer/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{cabal, fetchgit, network, mtl, parsec}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "WebServer";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/arjunguha/haskell-web.git;
|
||||
rev = "76c9aabd31d03f052a80a0f6999dc7c5f1b11c41" ;
|
||||
sha256 = "afd550a4c6aeffe2f3adb38556b8e9ae198e98db17338ea6c8fa92d56c7eddb7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [network mtl parsec];
|
||||
meta = {
|
||||
description = "";
|
||||
};
|
||||
})
|
||||
|
||||
14
pkgs/development/libraries/haskell/base64-string/default.nix
Normal file
14
pkgs/development/libraries/haskell/base64-string/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "base64-string";
|
||||
version = "0.1";
|
||||
|
||||
sha256 = "f9a6f050f5d9993313a1ceb49eba827ecf1046af51266d10b0dc899b53f13d8c";
|
||||
|
||||
propagatedBuildInputs = [];
|
||||
meta = {
|
||||
description = "";
|
||||
};
|
||||
})
|
||||
|
||||
12
pkgs/development/libraries/haskell/json/0.3.6.nix
Normal file
12
pkgs/development/libraries/haskell/json/0.3.6.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{cabal, mtl}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "json";
|
||||
version = "0.3.6";
|
||||
sha256 = "05047879ed0c7a9aa168a981e238da94758281af3cb1a1f78a6427322b946fd7";
|
||||
propagatedBuildInputs = [mtl];
|
||||
meta = {
|
||||
description = "Support for serialising Haskell to and from JSON";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user