nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 ppx_deriving,
5 ppxlib,
6 repr,
7 alcotest,
8 hex,
9}:
10
11buildDunePackage {
12 pname = "ppx_repr";
13
14 inherit (repr) src version;
15
16 propagatedBuildInputs = [
17 ppx_deriving
18 ppxlib
19 repr
20 ];
21
22 doCheck = true;
23 checkInputs = [
24 alcotest
25 hex
26 ];
27
28 meta = repr.meta // {
29 description = "PPX deriver for type representations";
30 };
31}