Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildOctavePackage, 3 lib, 4 fetchurl, 5}: 6 7buildOctavePackage rec { 8 pname = "doctest"; 9 version = "0.8.0"; 10 11 src = fetchurl { 12 url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; 13 sha256 = "sha256-/oXJ7NnbbdsVfhNOYU/tkkYwKhYs5zKMEjybmbf0Cok="; 14 }; 15 16 meta = { 17 homepage = "https://gnu-octave.github.io/packages/doctest/"; 18 license = lib.licenses.bsd3; 19 maintainers = with lib.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 }; 29}