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