You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
454 B

3 months ago
  1. { stdenv, fetchFromGitHub, python3 }:
  2. stdenv.mkDerivation rec {
  3. name = "z3-${version}";
  4. version = "4.6.0";
  5. src = fetchFromGitHub {
  6. owner = "Z3Prover";
  7. repo = "z3";
  8. rev = "z3-${version}";
  9. sha256 = "1cgwlmjdbf4rsv2rriqi2sdpz9qxihxrcpm6a4s37ijy437xg78l";
  10. };
  11. buildInputs = [ python3 ];
  12. phases = "unpackPhase buildPhase installPhase fixupPhase";
  13. preBuild = ''
  14. python3 scripts/mk_make.py --prefix=$out
  15. cd build
  16. '';
  17. }