3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #2592 from bennofs/haskell-new-expressions

Add a few haskell expressions
This commit is contained in:
Peter Simons 2014-05-09 22:59:40 +02:00
commit 06f9fed0ac
8 changed files with 134 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ cabal, dataDefault, doctest, filepath, ghcPaths, haskellGenerate
, haskellSrcExts, HUnit, tasty, tastyHunit, tastyTh, time, void
}:
cabal.mkDerivation (self: {
pname = "dynamic-cabal";
version = "0.3.1";
sha256 = "0jjhz6h1ggznbvi4qgv0p5x1s7j0fgv1xvkfgid57jrjvdvd4gic";
buildDepends = [
dataDefault filepath ghcPaths haskellGenerate haskellSrcExts time
void
];
testDepends = [ doctest filepath HUnit tasty tastyHunit tastyTh ];
meta = {
homepage = "http://github.com/bennofs/dynamic-cabal/";
description = "dynamic-cabal";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,15 @@
{ cabal, doctest, filepath, haskellSrcExts, transformers }:
cabal.mkDerivation (self: {
pname = "haskell-generate";
version = "0.2";
sha256 = "0bkaarc40lcw3v2y6qdf91rx21v3w82y62kaadhmmh5ikq99pybw";
buildDepends = [ haskellSrcExts transformers ];
testDepends = [ doctest filepath ];
meta = {
homepage = "http://github.com/bennofs/haskell-generate/";
description = "haskell-generate";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,22 @@
{ cabal, dlist, doctest, either, filepath, free, lens, mmorph
, monadControl, mtl, optparseApplicative, randomShuffle, split, stm
, tagged, tasty, temporary, text, transformers, transformersBase
}:
cabal.mkDerivation (self: {
pname = "hcltest";
version = "0.3.1";
sha256 = "0qnf6ib01njcbjfbwxff8y4sqmrj6nyy9y9hb0l0kw21cxsgl7c9";
buildDepends = [
dlist either filepath free lens mmorph monadControl mtl
optparseApplicative randomShuffle split stm tagged tasty temporary
text transformers transformersBase
];
testDepends = [ doctest filepath ];
meta = {
homepage = "http://github.com/bennofs/hcltest/";
description = "A testing library for command line applications";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,15 @@
{ cabal, doctest, either, filepath, QuickCheck, transformers }:
cabal.mkDerivation (self: {
pname = "quickcheck-property-monad";
version = "0.2.1";
sha256 = "1ln8bcsc8hd8jyhd9rp2j90p5h5nhmwidb5my91p09h43y4z9xds";
buildDepends = [ either QuickCheck transformers ];
testDepends = [ doctest filepath QuickCheck ];
meta = {
homepage = "http://github.com/bennofs/quickcheck-property-monad/";
description = "quickcheck-property-monad";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,14 @@
{ cabal, time }:
cabal.mkDerivation (self: {
pname = "system-time-monotonic";
version = "0.2";
sha256 = "0f5grhh6x2fbawmdk0gq1nsjz47iz8f8r2592d1l69fqddwdhc3v";
buildDepends = [ time ];
meta = {
homepage = "https://github.com/joeyadams/haskell-system-time-monotonic";
description = "Simple library for using the system's monotonic clock";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,15 @@
{ cabal, doctest, filepath, QuickCheck, text, thLift, vector }:
cabal.mkDerivation (self: {
pname = "th-lift-instances";
version = "0.1.2";
sha256 = "0xfz7jnhqxqxd6ijn6vpd0nay38kj862ylsb71xqi35137g5zl9w";
buildDepends = [ text thLift vector ];
testDepends = [ doctest filepath QuickCheck text vector ];
meta = {
homepage = "http://github.com/bennofs/th-lift-instances/";
description = "Lift instances for template-haskell for common data types";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,19 @@
{ cabal, HUnit, mtl, QuickCheck, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2
}:
cabal.mkDerivation (self: {
pname = "unix-memory";
version = "0.1.1";
sha256 = "02jmccs7mcg2lhpnb1ps7ycxzmn46b4drf994vv0pawwjrkrhnhk";
testDepends = [
HUnit mtl QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2
];
meta = {
homepage = "http://github.com/vincenthz/hs-unix-memory";
description = "Unix memory syscalls";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1026,6 +1026,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
dualTree = callPackage ../development/libraries/haskell/dual-tree {};
dynamicCabal = callPackage ../development/libraries/haskell/dynamic-cabal {};
dyre = callPackage ../development/libraries/haskell/dyre {};
editDistance = callPackage ../development/libraries/haskell/edit-distance {};
@ -1325,6 +1327,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
haskelineClass = callPackage ../development/libraries/haskell/haskeline-class {};
haskellGenerate = callPackage ../development/libraries/haskell/haskell-generate {};
haskellLexer = callPackage ../development/libraries/haskell/haskell-lexer {};
haskellMpi = callPackage ../development/libraries/haskell/haskell-mpi {
@ -1349,6 +1353,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hastache = callPackage ../development/libraries/haskell/hastache {};
hcltest = callPackage ../development/libraries/haskell/hcltest {};
heredoc = callPackage ../development/libraries/haskell/heredoc {};
hexpat = callPackage ../development/libraries/haskell/hexpat {};
@ -2164,6 +2170,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
quickcheckIo = callPackage ../development/libraries/haskell/quickcheck-io {};
quickcheckPropertyMonad = callPackage ../development/libraries/haskell/quickcheck-property-monad {};
qrencode = callPackage ../development/libraries/haskell/qrencode {
inherit (pkgs) qrencode;
};
@ -2486,6 +2494,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
systemPosixRedirect = callPackage ../development/libraries/haskell/system-posix-redirect {};
systemTimeMonotonic = callPackage ../development/libraries/haskell/system-time-monotonic {};
TableAlgebra = callPackage ../development/libraries/haskell/TableAlgebra {};
tabular = callPackage ../development/libraries/haskell/tabular {};
@ -2580,6 +2590,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
thLift = callPackage ../development/libraries/haskell/th-lift {};
thLiftInstances = callPackage ../development/libraries/haskell/th-lift-instances {};
thOrphans = callPackage ../development/libraries/haskell/th-orphans {};
threadmanager = callPackage ../development/libraries/haskell/threadmanager {};
@ -2667,6 +2679,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
unixCompat = callPackage ../development/libraries/haskell/unix-compat {};
unixMemory = callPackage ../development/libraries/haskell/unix-memory {};
unixProcessConduit = callPackage ../development/libraries/haskell/unix-process-conduit {};
unixTime = callPackage ../development/libraries/haskell/unix-time {};