forked from haskell-nix/hnix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.nix
32 lines (30 loc) · 1016 Bytes
/
project.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, ansi-wl-pprint, base, containers, data-fix, deepseq
, parsers, stdenv, tasty, tasty-hunit, tasty-th, text, transformers
, trifecta, unordered-containers, criterion, pkgs, deriving-compat
}:
let
inherit (builtins) filterSource;
inherit (pkgs.lib) elem;
in
mkDerivation {
pname = "hnix";
version = "0.3.3";
src = let
notNamed = list: name: !(elem (baseNameOf name) list);
in filterSource (n: _: notNamed [".git" "dist" "benchmarks"] n) ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
ansi-wl-pprint base containers data-fix deepseq parsers text
transformers trifecta unordered-containers criterion deriving-compat
];
executableHaskellDepends = [
ansi-wl-pprint base containers data-fix deepseq
];
testHaskellDepends = [
base containers data-fix tasty tasty-hunit tasty-th text
];
homepage = "http://github.com/jwiegley/hnix";
description = "Haskell implementation of the Nix language";
license = stdenv.lib.licenses.bsd3;
}