Skip to content
Snippets Groups Projects
Commit 8b7c10ac authored by Daniel Firth's avatar Daniel Firth
Browse files

io-classes: init at github:input-output-hk/io-sim/dcafd44cdc101a3e213de6a2d5ba7f674c2bc13c

parent b4d282fe
No related merge requests found
......@@ -195,6 +195,7 @@ let otherLibraries =
, H.callHackage "hxt-charproperties" "9.5.0.0"
, H.callHackage "hxt-regex-xmlschema" "9.2.0.7"
, H.callHackage "hxt-unicode" "9.0.2.4"
, callIoSim "io-classes" "io-classes"
, H.callHackage "inline-c" "0.9.1.6"
, H.callCabal2nix
"inline-r"
......
......@@ -149,6 +149,8 @@ final: prev: with pkgs.haskell.lib; {
int-cast = final.callPackage (./pkgs/int-cast.nix) { };
io-classes = final.callPackage (./pkgs/io-classes.nix) { };
lazy-search = final.callPackage (./pkgs/lazy-search.nix) { };
lazysmallcheck = final.callPackage (./pkgs/lazysmallcheck.nix) { };
......
{ mkDerivation
, QuickCheck
, array
, async
, base
, bytestring
, deque
, fetchgit
, lib
, mtl
, stm
, tasty
, tasty-quickcheck
, time
}:
mkDerivation {
pname = "io-classes";
version = "0.4.0.0";
src = fetchgit {
url = "https://github.com/input-output-hk/io-sim";
sha256 = "0xcb7j2wcc5zpgjvl1ly0sn7hvdwm51sbcyl5ncva1s1yfg5prsk";
rev = "dcafd44cdc101a3e213de6a2d5ba7f674c2bc13c";
fetchSubmodules = true;
};
postUnpack = "sourceRoot+=/io-classes/; echo source root reset to $sourceRoot";
isLibrary = true;
isExecutable = false;
enableSeparateDataOutput = false;
libraryHaskellDepends = [
array
async
base
bytestring
deque
mtl
stm
time
];
testHaskellDepends = [ base QuickCheck tasty tasty-quickcheck ];
enableLibraryProfiling = true;
enableExecutableProfiling = true;
doHaddock = false;
jailbreak = true;
doCheck = false;
doBenchmark = false;
hyperlinkSource = false;
description = "Type classes for concurrency with STM, ST and timing";
license = lib.licenses.asl20;
broken = false;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment