nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocamlPackages.ppx_import: 1.5-3 → 1.7.1

Support for OCaml ≥ 4.08

(cherry picked from commit db4ccde60dcb66dec6735e0af8f4b12239325216)

+6 -9
+6 -9
pkgs/development/ocaml-modules/ppx_import/default.nix
··· 1 - { lib, fetchFromGitHub, buildDunePackage, ocaml 1 + { lib, fetchurl, buildDunePackage, ocaml 2 2 , ounit, ppx_deriving, ppx_tools_versioned 3 3 }: 4 4 ··· 8 8 9 9 buildDunePackage rec { 10 10 pname = "ppx_import"; 11 - version = "1.5-3"; 11 + version = "1.7.1"; 12 12 13 - src = fetchFromGitHub { 14 - owner = "ocaml-ppx"; 15 - repo = "ppx_import"; 16 - rev = "bd627d5afee597589761d6fee30359300b5e1d80"; 17 - sha256 = "1f9bphif1izhyx72hvwpkd9kxi9lfvygaicy6nbxyp6qgc87z4nm"; 13 + src = fetchurl { 14 + url = "https://github.com/ocaml-ppx/ppx_import/releases/download/v${version}/ppx_import-v${version}.tbz"; 15 + sha256 = "16dyxfb7syz659rqa7yq36ny5vzl7gkqd7f4m6qm2zkjc1gc8j4v"; 18 16 }; 19 17 20 18 buildInputs = [ ounit ppx_deriving ]; 21 19 propagatedBuildInputs = [ ppx_tools_versioned ]; 22 20 23 21 doCheck = true; 24 - checkTarget = "test"; 25 22 26 23 meta = { 27 24 description = "A syntax extension that allows to pull in types or signatures from other compiled interface files"; 28 25 license = lib.licenses.mit; 29 - inherit (src.meta) homepage; 26 + homepage = "https://github.com/ocaml-ppx/ppx_import"; 30 27 }; 31 28 }