mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
easycrypt: 2024.01 → 2024.09
This commit is contained in:
parent
1924327c4d
commit
f18c3af055
@ -1,14 +1,14 @@
|
||||
{ lib, stdenv, fetchFromGitHub, ocamlPackages, why3, python3 }:
|
||||
{ lib, stdenv, darwin, fetchFromGitHub, ocamlPackages, why3, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "easycrypt";
|
||||
version = "2024.01";
|
||||
version = "2024.09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "r${version}";
|
||||
hash = "sha256-UYDoVMi5TtYxgPq5nkp/oRtcMcHl2p7KAG8ptvuOL5U=";
|
||||
hash = "sha256-ZGYklG1eXfytRKzFvRSB6jFrOCm1gjyG8W78eMve5Ng=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with ocamlPackages; [
|
||||
@ -17,10 +17,12 @@ stdenv.mkDerivation rec {
|
||||
menhir
|
||||
ocaml
|
||||
python3.pkgs.wrapPython
|
||||
];
|
||||
] ++ lib.optional stdenv.hostPlatform.isDarwin darwin.sigtool;
|
||||
|
||||
buildInputs = with ocamlPackages; [
|
||||
batteries
|
||||
dune-build-info
|
||||
dune-site
|
||||
inifiles
|
||||
why3
|
||||
yojson
|
||||
@ -32,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
strictDeps = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace dune-project --replace '(name easycrypt)' '(name easycrypt)(version ${version})'
|
||||
substituteInPlace dune-project --replace-fail '(name easycrypt)' '(name easycrypt)(version ${version})'
|
||||
'';
|
||||
|
||||
pythonPath = with python3.pkgs; [ pyyaml ];
|
||||
|
Loading…
Reference in New Issue
Block a user