nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 870 B view raw
1{ buildOctavePackage 2, lib 3, fetchurl 4}: 5 6buildOctavePackage rec { 7 pname = "doctest"; 8 version = "0.8.0"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; 12 sha256 = "sha256-/oXJ7NnbbdsVfhNOYU/tkkYwKhYs5zKMEjybmbf0Cok="; 13 }; 14 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 }; 28}