forked from jneira/dhall-to-etlas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdhall-to-cabal.nix
27 lines (27 loc) · 948 Bytes
/
dhall-to-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
25
26
27
{ mkDerivation, base, bytestring, Cabal, containers, contravariant
, dhall, Diff, directory, filepath, microlens, optparse-applicative
, prettyprinter, stdenv, tasty, tasty-golden, tasty-hunit, text
, transformers, vector
}:
mkDerivation {
pname = "dhall-to-cabal";
version = "1.3.4.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base bytestring Cabal containers contravariant dhall filepath
microlens text transformers vector
];
executableHaskellDepends = [
base bytestring Cabal containers dhall directory filepath microlens
optparse-applicative prettyprinter text transformers
];
testHaskellDepends = [
base bytestring Cabal dhall Diff filepath microlens prettyprinter
tasty tasty-golden tasty-hunit text
];
homepage = "https://github.com/ocharles/dhall-to-cabal";
description = "Compile Dhall expressions to Cabal files";
license = stdenv.lib.licenses.mit;
}