forked from VinylRecords/Vinyl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
25 lines (25 loc) · 823 Bytes
/
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
{ mkDerivation, aeson, array, base, criterion, deepseq, ghc-prim
, hspec, lens, lens-aeson, lib, linear, microlens, mtl, mwc-random
, primitive, should-not-typecheck, tagged, text
, unordered-containers, vector
}:
mkDerivation {
pname = "vinyl";
version = "0.14.3";
src =
builtins.filterSource
(path: type:
type != "directory"
|| lib.lists.all (x: baseNameOf path != x) ["dist-newstyle" ".direnv" ".git"])
./.;
libraryHaskellDepends = [ array base deepseq ghc-prim ];
testHaskellDepends = [
aeson base hspec lens lens-aeson microlens mtl should-not-typecheck
text unordered-containers vector
];
benchmarkHaskellDepends = [
base criterion linear microlens mwc-random primitive tagged vector
];
description = "Extensible Records";
license = lib.licenses.mit;
}