Merge sublime4: 4189 -> 4192; sublime4-dev: 4188 -> 4191 (#378651)
[NixPkgs.git] / pkgs / development / octave-modules / doctest / default.nix
blob0e8edfc701efde8bea3300896d8631701aae53d0
2   buildOctavePackage,
3   lib,
4   fetchurl,
5 }:
7 buildOctavePackage rec {
8   pname = "doctest";
9   version = "0.8.0";
11   src = fetchurl {
12     url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
13     sha256 = "sha256-/oXJ7NnbbdsVfhNOYU/tkkYwKhYs5zKMEjybmbf0Cok=";
14   };
16   meta = with lib; {
17     homepage = "https://octave.sourceforge.io/doctest/index.html";
18     license = licenses.bsd3;
19     maintainers = with maintainers; [ KarlJoad ];
20     description = "Find and run example code within documentation";
21     longDescription = ''
22       Find and run example code within documentation. Formatted blocks
23       of example code are extracted from documentation files and executed
24       to confirm their output is correct. This can be part of a testing
25       framework or simply to ensure that documentation stays up-to-date
26       during software development.
27     '';
28   };