2021-03-09 03:18:52 +00:00
|
|
|
{ buildOctavePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildOctavePackage rec {
|
|
|
|
pname = "doctest";
|
2023-03-30 22:05:00 +00:00
|
|
|
version = "0.8.0";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
2023-03-30 22:05:00 +00:00
|
|
|
sha256 = "sha256-/oXJ7NnbbdsVfhNOYU/tkkYwKhYs5zKMEjybmbf0Cok=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|