Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / octave-modules / doctest / default.nix
blob3c02a20cdad15aa6a7caecc9463ff080e86092dc
1 { buildOctavePackage
2 , lib
3 , fetchurl
4 }:
6 buildOctavePackage rec {
7   pname = "doctest";
8   version = "0.7.0";
10   src = fetchurl {
11     url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
12     sha256 = "0hh9izj9ds69bmrvmmj16fd1c4z7733h50c7isl8f714srw26kf4";
13   };
15   meta = with lib; {
16     homepage = "https://octave.sourceforge.io/doctest/index.html";
17     license = licenses.bsd3;
18     maintainers = with maintainers; [ KarlJoad ];
19     description = "Find and run example code within documentation";
20     longDescription = ''
21       Find and run example code within documentation. Formatted blocks
22       of example code are extracted from documentation files and executed
23       to confirm their output is correct. This can be part of a testing
24       framework or simply to ensure that documentation stays up-to-date
25       during software development.
26     '';
27   };