octave.pkgs.doctest: init at 0.7.0

This commit is contained in:
Karl Hallsby 2021-01-06 10:51:36 -06:00 committed by Doron Behar
parent 74944461e8
commit 4e3c4288c9
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "doctest";
version = "0.7.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0hh9izj9ds69bmrvmmj16fd1c4z7733h50c7isl8f714srw26kf4";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/doctest/index.html";
license = licenses.bsd3;
maintainers = with maintainers; [ KarlJoad ];
description = "Find and run example code within documentation";
longDescription = ''
Find and run example code within documentation. Formatted blocks
of example code are extracted from documentation files and executed
to confirm their output is correct. This can be part of a testing
framework or simply to ensure that documentation stays up-to-date
during software development.
'';
};
}

View File

@ -79,6 +79,8 @@ makeScope newScope (self:
divand = callPackage ../development/octave-modules/divand { };
doctest = callPackage ../development/octave-modules/doctest { };
general = callPackage ../development/octave-modules/general {
nettle = pkgs.nettle;
};