summaryrefslogtreecommitdiffstats
path: root/pkgs/haskell/hack.nix
blob: f1b22b5ee07fd640f226aa51945cebd55a7be378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ mkDerivation, base, blessings, containers, data-default, fetchgit
, lens, lib, mtl, old-locale, process, input-scanner, time, unix, zippers
}:
mkDerivation {
  pname = "hack";
  version = "1.0.2";
  src = fetchgit {
    url = "https://cgit.krebsco.de/hack";
    hash = "sha256-QHSGF4wFwLyn8W8jYbN1QajMnmQqUI+7VWk7yVvJgIg=";
    rev = "refs/tags/1.0.2";
    fetchSubmodules = true;
  };
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [ base ];
  executableHaskellDepends = [
    base blessings containers data-default lens mtl old-locale process
    input-scanner time unix zippers
  ];
  license = lib.licenses.mit;
}