mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 12:03:21 +00:00
27 lines
356 B
Nix
27 lines
356 B
Nix
{ fstar-dune
|
|
, src
|
|
, stdenv
|
|
, version
|
|
, z3
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "fstar-ulib";
|
|
inherit version src;
|
|
|
|
nativeBuildInputs = [
|
|
z3
|
|
];
|
|
|
|
postPatch = ''
|
|
mkdir -p bin
|
|
cp ${fstar-dune}/bin/fstar.exe bin
|
|
patchShebangs ulib/install-ulib.sh
|
|
cd ulib
|
|
'';
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
enableParallelBuilding = true;
|
|
}
|