mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
ocamlPackages.pp: 1.2.0 → 2.0.0
This commit is contained in:
parent
614a314a56
commit
0d4067f506
@ -85,7 +85,7 @@ buildDunePackage rec {
|
||||
stdune
|
||||
]
|
||||
else if lib.versionAtLeast version "1.7.0" then
|
||||
[ pp re ppx_yojson_conv_lib octavius dune-build-info omd cmdliner ocamlformat-rpc-lib ]
|
||||
[ re octavius dune-build-info omd cmdliner ocamlformat-rpc-lib ]
|
||||
else
|
||||
[
|
||||
ppx_yojson_conv_lib
|
||||
@ -113,7 +113,7 @@ buildDunePackage rec {
|
||||
] else if lib.versionAtLeast version "1.7.0" then [
|
||||
csexp
|
||||
jsonrpc
|
||||
pp
|
||||
(pp.override { version = "1.2.0"; })
|
||||
ppx_yojson_conv_lib
|
||||
result
|
||||
uutf
|
||||
|
@ -1,16 +1,23 @@
|
||||
{ buildDunePackage, fetchurl, ppx_expect, lib }:
|
||||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchurl
|
||||
, ppx_expect
|
||||
, version ? "2.0.0"
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "pp";
|
||||
version = "1.2.0";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
|
||||
hash = "sha256-pegiVzxVr7Qtsp7FbqzR8qzY9lzy3yh44pHeN0zmkJw=";
|
||||
hash = {
|
||||
"2.0.0" = "sha256-hlE1FRiwkrSi3vTggXHCdhUvkvtqhKixm2uSnM20RBk=";
|
||||
"1.2.0" = "sha256-pegiVzxVr7Qtsp7FbqzR8qzY9lzy3yh44pHeN0zmkJw=";
|
||||
}."${version}";
|
||||
};
|
||||
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
checkInputs = [ ppx_expect ];
|
||||
|
Loading…
Reference in New Issue
Block a user