Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 22 lines 637 B view raw
1{stdenv, buildOcaml, fetchurl, type_conv}: 2 3buildOcaml rec { 4 name = "comparelib"; 5 version = "109.60.00"; 6 7 minimumSupportedOcamlVersion = "4.00"; 8 9 src = fetchurl { 10 url = "https://github.com/janestreet/comparelib/archive/${version}.tar.gz"; 11 sha256 = "1075fb05e0d1e290f71ad0f6163f32b2cb4cebdc77568491c7eb38ba91f5db7e"; 12 }; 13 14 propagatedBuildInputs = [ type_conv ]; 15 16 meta = with stdenv.lib; { 17 homepage = https://github.com/janestreet/comparelib; 18 description = "Syntax extension for deriving \"compare\" functions automatically"; 19 license = licenses.asl20; 20 maintainers = [ maintainers.ericbmerritt ]; 21 }; 22}