summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/atd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/atd/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/atd/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/atd/default.nix b/pkgs/development/ocaml-modules/atd/default.nix
index 2f85221e539c..de6ade61518a 100644
--- a/pkgs/development/ocaml-modules/atd/default.nix
+++ b/pkgs/development/ocaml-modules/atd/default.nix
@@ -1,4 +1,4 @@
-{ lib, menhir, easy-format, fetchurl, buildDunePackage, which, re }:
+{ lib, menhir, easy-format, fetchurl, buildDunePackage, which, re, nixosTests }:
buildDunePackage rec {
pname = "atd";
@@ -18,6 +18,10 @@ buildDunePackage rec {
doCheck = true;
+ passthru.tests = {
+ smoke-test = nixosTests.atd;
+ };
+
meta = with lib; {
homepage = "https://github.com/mjambon/atd";
description = "Syntax for cross-language type definitions";