nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 801 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 astring, 6 cmdliner, 7 fmt, 8 re, 9 stdlib-shims, 10 uutf, 11 ocaml-syntax-shims, 12}: 13 14buildDunePackage (finalAttrs: { 15 pname = "alcotest"; 16 version = "1.9.1"; 17 18 src = fetchurl { 19 url = "https://github.com/mirage/alcotest/releases/download/${finalAttrs.version}/alcotest-${finalAttrs.version}.tbz"; 20 hash = "sha256-HinDtB1DKQYhBbcj39o6/4a4zvXnx1ANDkkfxf145II="; 21 }; 22 23 nativeBuildInputs = [ ocaml-syntax-shims ]; 24 25 propagatedBuildInputs = [ 26 astring 27 cmdliner 28 fmt 29 re 30 stdlib-shims 31 uutf 32 ]; 33 34 doCheck = true; 35 36 meta = { 37 homepage = "https://github.com/mirage/alcotest"; 38 description = "Lightweight and colourful test framework"; 39 license = lib.licenses.isc; 40 maintainers = [ lib.maintainers.ericbmerritt ]; 41 }; 42})