ocamlPackages.zed: remove at 3.1.0 for OCaml < 4.08

authored by Vincent Laporte and committed by Vincent Laporte 0770ab6a 9306e3cc

Changed files
+4 -22
pkgs
development
ocaml-modules
+4 -22
pkgs/development/ocaml-modules/zed/default.nix
··· 1 - { lib, buildDunePackage, fetchFromGitHub, ocaml, react, charInfo_width, result, uchar, uutf, uucp, uuseg }: 2 - 3 - let 4 - switch = 5 - if lib.versionAtLeast ocaml.version "4.08" 6 - then 7 - { 8 - version = "3.2.3"; 9 - sha256 = "sha256-lbhqjZxeUqHdd+yahRO+B6L2mc+h+4T2+qKVgWC2HY8="; 10 - propagatedBuildInputs = [ react result uchar uutf uucp uuseg ]; 11 - } 12 - else 13 - { 14 - version = "3.1.0"; 15 - sha256 = "04vr1a94imsghm98iigc35rhifsz0rh3qz2qm0wam2wvp6vmrx0p"; 16 - propagatedBuildInputs = [ charInfo_width react ]; 17 - }; 18 - in 1 + { lib, buildDunePackage, fetchFromGitHub, react, result, uchar, uutf, uucp, uuseg }: 19 2 20 3 buildDunePackage rec { 21 4 pname = "zed"; 5 + version = "3.2.3"; 22 6 23 - inherit (switch) version propagatedBuildInputs; 24 - 25 - duneVersion = "3"; 7 + propagatedBuildInputs = [ react result uchar uutf uucp uuseg ]; 26 8 27 9 src = fetchFromGitHub { 28 10 owner = "ocaml-community"; 29 11 repo = pname; 30 12 rev = version; 31 - sha256 = switch.sha256; 13 + sha256 = "sha256-lbhqjZxeUqHdd+yahRO+B6L2mc+h+4T2+qKVgWC2HY8="; 32 14 }; 33 15 34 16 meta = {