diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/default.nix b/default.nix index 1890d35..90576e7 100644 --- a/default.nix +++ b/default.nix | |||
@@ -1,10 +1,19 @@ | |||
1 | { mkDerivation, base, parsec, readline, stdenv }: | 1 | { mkDerivation, base, mtl, parsec, QuickCheck, readline, stdenv |
2 | , test-framework, test-framework-hunit, test-framework-quickcheck2 | ||
3 | , test-framework-th | ||
4 | }: | ||
2 | mkDerivation { | 5 | mkDerivation { |
3 | pname = "lisk"; | 6 | pname = "lisk"; |
4 | version = "0.1.0.0"; | 7 | version = "0.1.0.0"; |
5 | src = ./.; | 8 | src = ./.; |
6 | isLibrary = false; | 9 | isLibrary = true; |
7 | isExecutable = true; | 10 | isExecutable = true; |
8 | executableHaskellDepends = [ base parsec readline ]; | 11 | libraryHaskellDepends = [ base mtl parsec ]; |
12 | executableHaskellDepends = [ base mtl parsec readline ]; | ||
13 | testHaskellDepends = [ | ||
14 | base parsec QuickCheck test-framework test-framework-hunit | ||
15 | test-framework-quickcheck2 test-framework-th | ||
16 | ]; | ||
17 | description = "a lisp interpreter"; | ||
9 | license = stdenv.lib.licenses.gpl3; | 18 | license = stdenv.lib.licenses.gpl3; |
10 | } | 19 | } |