cjdns: declare tests from nixosTests

This commit is contained in:
Emery Hemingway 2020-04-16 12:32:32 +05:30
parent 513e1339c0
commit a2e3fc32b3

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, nodejs, which, python27, utillinux }:
{ stdenv, fetchFromGitHub, nodejs, which, python27, utillinux, nixosTests }:
let version = "20.6"; in
stdenv.mkDerivation {
@ -29,6 +29,8 @@ stdenv.mkDerivation {
cp -R contrib tools node_build node_modules $out/share/cjdns/
'';
passthru.tests.basic = nixosTests.cjdns;
meta = with stdenv.lib; {
homepage = "https://github.com/cjdelisle/cjdns";
description = "Encrypted networking for regular people";