-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdefault.nix
32 lines (32 loc) · 1.31 KB
/
default.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
28
29
30
31
32
{ mkDerivation, aeson, ansi-terminal, base, bytestring
, classy-prelude, containers, curl, data-default, data-fix
, directory, exceptions, hnix, hspec, lifted-base, megaparsec
, MissingH, monad-control, mono-traversable, mtl
, neat-interpolation, network-uri, optparse-applicative, parsec
, pcre-heavy, QuickCheck, regex-tdfa, regex-tdfa-text, semver-range
, SHA, shelly, stdenv, system-filepath, temporary, text
, text-render, transformers, unix, unordered-containers
}:
mkDerivation {
pname = "nixfromnpm";
version = "0.13.0";
src = ./.;
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson ansi-terminal base bytestring classy-prelude containers curl
data-default data-fix directory exceptions hnix lifted-base
megaparsec MissingH monad-control mono-traversable mtl network-uri
optparse-applicative parsec pcre-heavy regex-tdfa regex-tdfa-text
semver-range SHA shelly system-filepath temporary text text-render
transformers unix unordered-containers
];
executableHaskellDepends = [ base optparse-applicative ];
testHaskellDepends = [
aeson base bytestring classy-prelude hnix hspec mono-traversable
neat-interpolation QuickCheck text
];
description = "Generate nix expressions from npm packages";
license = stdenv.lib.licenses.mit;
}