opam: 2.2.0 → 2.3.0

This commit is contained in:
Vincent Laporte 2024-11-25 17:31:58 +01:00
parent af64a865e4
commit e162d35f04
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
6 changed files with 8 additions and 11 deletions

View File

@ -2,7 +2,7 @@
, jsonm, ocamlgraph, re, sha, swhid_core, uutf
}:
buildDunePackage rec {
buildDunePackage {
pname = "opam-core";
inherit (opam) src version;

View File

@ -1,6 +1,6 @@
{ lib, buildDunePackage, opam-core, opam-file-format }:
buildDunePackage rec {
buildDunePackage {
pname = "opam-format";
inherit (opam-core) src version;

View File

@ -1,6 +1,6 @@
{ lib, buildDunePackage, opam-format, curl }:
buildDunePackage rec {
buildDunePackage {
pname = "opam-repository";
inherit (opam-format) src version;

View File

@ -1,6 +1,6 @@
{ lib, buildDunePackage, opam, opam-repository, spdx_licenses }:
buildDunePackage rec {
buildDunePackage {
pname = "opam-state";
inherit (opam) src version;

View File

@ -6,11 +6,11 @@ assert lib.versionAtLeast ocaml.version "4.08.0";
stdenv.mkDerivation {
pname = "opam";
version = "2.2.0";
version = "2.3.0";
src = fetchurl {
url = "https://github.com/ocaml/opam/releases/download/2.2.0/opam-full-2.2.0-2.tar.gz";
sha256 = "459ed64e6643f05c677563a000e3baa05c76ce528064e9cb9ce6db49fff37c97";
url = "https://github.com/ocaml/opam/releases/download/2.3.0/opam-full-2.3.0.tar.gz";
hash = "sha256-UGunaGXcMVtn35qonnq9XBqJen8KkteyaUl0/cUys0Y=";
};
strictDeps = true;

View File

@ -1,12 +1,9 @@
{ unzip, opam, ocamlPackages }:
{ opam, ocamlPackages }:
ocamlPackages.buildDunePackage {
pname = "opam-installer";
duneVersion = "3";
inherit (opam) version src;
nativeBuildInputs = [ unzip ];
configureFlags = [ "--disable-checks" "--prefix=$out" ];
buildInputs = with ocamlPackages; [ opam-format cmdliner ];