mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
ocamlPackages.chacha: 1.0.0 → 1.1.0
This commit is contained in:
parent
eea01cd11d
commit
b6236dbddb
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildDunePackage
|
, buildDunePackage
|
||||||
, fetchurl
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, ocaml
|
, ocaml
|
||||||
|
|
||||||
, alcotest
|
, alcotest
|
||||||
@ -10,16 +11,22 @@
|
|||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "chacha";
|
pname = "chacha";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/abeaumont/ocaml-chacha/releases/download/${version}/${pname}-${version}.tbz";
|
owner = "abeaumont";
|
||||||
sha256 = "sha256-t8dOMQQDpje0QbuOhjSIa3xnXuXcxMVTLENa/rwdgA4=";
|
repo = "ocaml-chacha";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-PmeiFloU0k3SqOK1VjaliiCEzDzrzyMSasgnO5fJS1k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useDune2 = true;
|
# Ensure compatibility with cstruct ≥ 6.1.0
|
||||||
|
patches = [ (fetchpatch {
|
||||||
|
url = "https://github.com/abeaumont/ocaml-chacha/commit/fbe4a0a808226229728a68f278adf370251196fd.patch";
|
||||||
|
sha256 = "sha256-y7X9toFDrgdv3qmFmUs7K7QS+Gy45rRLulKy48m7uqc=";
|
||||||
|
})];
|
||||||
|
|
||||||
minimumOCamlVersion = "4.02";
|
minimalOCamlVersion = "4.02";
|
||||||
|
|
||||||
propagatedBuildInputs = [ cstruct mirage-crypto ];
|
propagatedBuildInputs = [ cstruct mirage-crypto ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user