Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
30 lines
871 B
Nix
30 lines
871 B
Nix
{
|
|
buildOctavePackage,
|
|
lib,
|
|
fetchurl,
|
|
}:
|
|
|
|
buildOctavePackage rec {
|
|
pname = "doctest";
|
|
version = "0.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-/oXJ7NnbbdsVfhNOYU/tkkYwKhYs5zKMEjybmbf0Cok=";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://gnu-octave.github.io/packages/doctest/";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.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.
|
|
'';
|
|
};
|
|
}
|