4fc29cb41f
GitOrigin-RevId: 135073a87b7e2c631739f4ffa016e1859b1a425e
28 lines
722 B
Nix
28 lines
722 B
Nix
{ lib, rustPlatform, fetchFromGitHub, makeWrapper, z3 }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "zz";
|
|
version = "0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aep";
|
|
repo = "zz";
|
|
rev = version;
|
|
sha256 = "0kqrfm2r9wn0p2c3lcprsy03p9qhrwjs990va8qi59jp704l84ad";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
cargoSha256 = "0yllcqxyyhwr9h0z8q84l0ms8x6jrqhpg79ik4xng6h5yf4ab0pq";
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/zz --prefix PATH ":" "${lib.getBin z3}/bin"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "🍺🐙 ZetZ a zymbolic verifier and tranzpiler to bare metal C";
|
|
homepage = "https://github.com/aep/zz";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|