depot/pkgs/development/octave-modules/doctest/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

28 lines
870 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 = 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.
'';
};
}