Merge pull request #57 from dstcruz/snap

Haskell libraries required for Snap development
This commit is contained in:
Peter Simons 2012-07-23 11:18:43 -07:00
commit bef1738d0e
13 changed files with 227 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ cabal, comonad, contravariant, distributive, semigroupoids
, semigroups, transformers
}:
cabal.mkDerivation (self: {
pname = "comonad-transformers";
version = "2.1.2";
sha256 = "0yhpsifnqxrg1p8f9hjslwkrakiaxa2kk9726q923a5sj225cvis";
buildDepends = [
comonad contravariant distributive semigroupoids semigroups
transformers
];
meta = {
homepage = "http://github.com/ekmett/comonad-transformers/";
description = "Comonad transformers";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, semigroups, transformers }:
cabal.mkDerivation (self: {
pname = "comonad";
version = "1.1.1.6";
sha256 = "1sg0pa7393mzfm27pl52nchplhkls3k0f4ff8vzk76wzrgvhysg5";
buildDepends = [ semigroups transformers ];
meta = {
homepage = "http://github.com/ekmett/comonad/";
description = "Haskell 98 compatible comonads";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,18 @@
{ cabal, attoparsec, hashable, text, unixCompat
, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "configurator";
version = "0.2.0.0";
sha256 = "0zkcmziyfq2sm9i75ysi5nxd21fynp88m0safhmn3jld7plj03la";
buildDepends = [
attoparsec hashable text unixCompat unorderedContainers
];
meta = {
homepage = "http://github.com/bos/configurator";
description = "Configuration management";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, transformers }:
cabal.mkDerivation (self: {
pname = "contravariant";
version = "0.2.0.2";
sha256 = "0142s1c914zbfnvysvcc9s3bv8qs6wimnqcmxca1gxaxqvyfkf3p";
buildDepends = [ transformers ];
meta = {
homepage = "http://github.com/ekmett/contravariant/";
description = "Haskell 98 contravariant functors";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, dataLens }:
cabal.mkDerivation (self: {
pname = "data-lens-template";
version = "2.1.5";
sha256 = "09i9lby5jd2kcg0l7y4hkga7jxixcpqw4dc7h1kngqdz92a1ydxc";
buildDepends = [ dataLens ];
meta = {
homepage = "http://github.com/ekmett/data-lens-template/";
description = "Utilities for Data.Lens";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,17 @@
{ cabal, comonad, comonadTransformers, semigroupoids, transformers
}:
cabal.mkDerivation (self: {
pname = "data-lens";
version = "2.10.0";
sha256 = "0y3rl9axakvz6kwmh08aabbz1z7y38wyrygmg4m6xby02cqbq5gk";
buildDepends = [
comonad comonadTransformers semigroupoids transformers
];
meta = {
homepage = "http://github.com/roconnor/data-lens/";
description = "Haskell 98 Lenses";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, transformers }:
cabal.mkDerivation (self: {
pname = "distributive";
version = "0.2.2";
sha256 = "13wvr2wb3h2nr1qd3dwjqx0b6g4igjqm3q2cyi4mc41gwihkbhr2";
buildDepends = [ transformers ];
meta = {
homepage = "http://github.com/ekmett/distributive/";
description = "Haskell 98 Distributive functors -- Dual to Traversable";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,21 @@
{ cabal, aeson, attoparsec, blazeBuilder, blazeHtml, directoryTree
, filepath, MonadCatchIOTransformers, mtl, random, text, time
, transformers, unorderedContainers, vector, xmlhtml
}:
cabal.mkDerivation (self: {
pname = "heist";
version = "0.8.1.1";
sha256 = "0ad56izskafpc1dx2nq0a8w71ayppwx8dc7kdaw1by972kh3nflh";
buildDepends = [
aeson attoparsec blazeBuilder blazeHtml directoryTree filepath
MonadCatchIOTransformers mtl random text time transformers
unorderedContainers vector xmlhtml
];
meta = {
homepage = "http://snapframework.com/";
description = "An (x)html templating system";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, comonad, contravariant, semigroups, transformers }:
cabal.mkDerivation (self: {
pname = "semigroupoids";
version = "1.3.4";
sha256 = "0vnipjndbsldk5w1qw35i2zrd418rq13y10g0i33ylg1gwnsrqph";
buildDepends = [ comonad contravariant semigroups transformers ];
meta = {
homepage = "http://github.com/ekmett/semigroupoids";
description = "Haskell 98 semigroupoids: Category sans id";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,13 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "snap-loader-static";
version = "0.9.0";
sha256 = "1blchmg0qfng7bw235z1gqkwyi764j78bc29vd5p6xxhmq111ys7";
meta = {
homepage = "http://snapframework.com/";
description = "Snap: A Haskell Web Framework: static loader";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,28 @@
{ cabal, aeson, attoparsec, cereal, clientsession, configurator
, dataLens, dataLensTemplate, directoryTree, filepath, hashable
, heist, logict, MonadCatchIOTransformers, mtl, mwcRandom
, pwstoreFast, snapCore, snapServer, stm, syb, text, time
, transformers, unorderedContainers, utf8String, vector
, vectorAlgorithms, xmlhtml
}:
cabal.mkDerivation (self: {
pname = "snap";
version = "0.9.0.1";
sha256 = "0n3qmyvqqcds3c56ml77d2cr0ghs1c7wwd20m44zzmxxmpbnfmgh";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson attoparsec cereal clientsession configurator dataLens
dataLensTemplate directoryTree filepath hashable heist logict
MonadCatchIOTransformers mtl mwcRandom pwstoreFast snapCore
snapServer stm syb text time transformers unorderedContainers
utf8String vector vectorAlgorithms xmlhtml
];
meta = {
homepage = "http://snapframework.com/";
description = "Snap: A Haskell Web Framework: project starter executable and glue code library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,17 @@
{ cabal, blazeBuilder, blazeHtml, blazeMarkup, parsec, text
, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "xmlhtml";
version = "0.2.0.2";
sha256 = "0dqlqx3cnrqap3ficdkmwm8661j8i7qknb8xhjqvfmnb9pwqdks2";
buildDepends = [
blazeBuilder blazeHtml blazeMarkup parsec text unorderedContainers
];
meta = {
description = "XML parser and renderer with HTML 5 quirks mode";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -532,18 +532,26 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
colour = callPackage ../development/libraries/haskell/colour {};
comonad = callPackage ../development/libraries/haskell/comonad {};
comonadTransformers = callPackage ../development/libraries/haskell/comonad-transformers {};
compactStringFix = callPackage ../development/libraries/haskell/compact-string-fix {};
conduit = callPackage ../development/libraries/haskell/conduit {};
ConfigFile = callPackage ../development/libraries/haskell/ConfigFile {};
configurator = callPackage ../development/libraries/haskell/configurator {};
convertible = callPackage ../development/libraries/haskell/convertible {
time = self.time_1_1_3;
};
continuedFractions = callPackage ../development/libraries/haskell/continued-fractions {};
contravariant = callPackage ../development/libraries/haskell/contravariant {};
converge = callPackage ../development/libraries/haskell/converge {};
cookie = callPackage ../development/libraries/haskell/cookie {};
@ -588,6 +596,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
dataInttrie = callPackage ../development/libraries/haskell/data-inttrie {};
dataLens = callPackage ../development/libraries/haskell/data-lens {};
dataLensTemplate = callPackage ../development/libraries/haskell/data-lens-template {};
dataMemocombinators = callPackage ../development/libraries/haskell/data-memocombinators {};
dataReify = callPackage ../development/libraries/haskell/data-reify {};
@ -616,6 +628,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
directoryTree = callPackage ../development/libraries/haskell/directory-tree {};
distributive = callPackage ../development/libraries/haskell/distributive {};
dlist = callPackage ../development/libraries/haskell/dlist {};
dotgen = callPackage ../development/libraries/haskell/dotgen {};
@ -841,6 +855,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
HDBCSqlite = callPackage ../development/libraries/haskell/HDBC/HDBC-sqlite3.nix {};
heist = callPackage ../development/libraries/haskell/heist {};
HFuse = callPackage ../development/libraries/haskell/hfuse {};
HGL = callPackage ../development/libraries/haskell/HGL {};
@ -1291,6 +1307,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
semigroups = callPackage ../development/libraries/haskell/semigroups {};
semigroupoids = callPackage ../development/libraries/haskell/semigroupoids {};
shelly = callPackage ../development/libraries/haskell/shelly {};
simpleSendfile = callPackage ../development/libraries/haskell/simple-sendfile {};
@ -1299,8 +1317,12 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
smallcheck = callPackage ../development/libraries/haskell/smallcheck {};
snap = callPackage ../development/libraries/haskell/snap/snap.nix {};
snapCore = callPackage ../development/libraries/haskell/snap/core.nix {};
snapLoaderStatic = callPackage ../development/libraries/haskell/snap/loader-static.nix {};
snapServer = callPackage ../development/libraries/haskell/snap/server.nix {};
socks = callPackage ../development/libraries/haskell/socks {};
@ -1571,6 +1593,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
xmlConduit = callPackage ../development/libraries/haskell/xml-conduit {};
xmlhtml = callPackage ../development/libraries/haskell/xmlhtml {};
xmlTypes = callPackage ../development/libraries/haskell/xml-types {};
xssSanitize = callPackage ../development/libraries/haskell/xss-sanitize {};