forked from samtay/tetris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcabal.nix
24 lines (23 loc) · 825 Bytes
/
cabal.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ haskellPackages }:
let
drv = haskellPackages.callPackage ({ mkDerivation, base, brick, containers, directory, filepath
, lens, lib, linear, optparse-applicative, random, transformers
, vty, mtl, async, criterion, hspec, hspec-discover, QuickCheck, aeson
}:
mkDerivation {
pname = "tetris";
version = "0.1.4.1";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base brick containers lens linear random transformers vty mtl async criterion hspec hspec-discover QuickCheck aeson
];
executableHaskellDepends = [
base directory filepath optparse-applicative
];
homepage = "https://github.com/samtay/tetris#readme";
license = lib.licenses.bsd3;
}) {};
in
drv