1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ HUnit, aeson, base, bytestring, containers, directory, fetchFromGitHub
, filepath, haskell-src-exts, mkDerivation, mtl, optparse-applicative, stdenv
, strict, stylish-haskell, syb, test-framework, test-framework-hunit, yaml
}:
let regularDependencies = [
aeson
base
bytestring
containers
directory
filepath
haskell-src-exts
mtl
syb
yaml
];
in mkDerivation {
pname = "stylish-haskell";
version = "0.8.1.0";
src = fetchFromGitHub {
owner = "jaspervdj";
repo = "stylish-haskell";
rev = "dc3a73e82c19ff97a1544840dac8f7f4568b24bc";
sha256 = "0kx9m3j9w2357ff5y651s9cdbjiyax9fksyf4rk8pzabc0dv6dpg";
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends =
regularDependencies;
executableHaskellDepends =
regularDependencies ++ [ optparse-applicative strict stylish-haskell ];
testHaskellDepends =
regularDependencies ++ [ HUnit test-framework test-framework-hunit ];
homepage = "https://github.com/jaspervdj/stylish-haskell";
description = "Simple Haskell code prettifier";
license = stdenv.lib.licenses.bsd3;
}
|