Advertisement
Guest User

Untitled

a guest
Dec 29th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. { stdenv, fetchFromGitHub, python2, fixDarwinDylibNames }:
  2.  
  3. let
  4. python = python2;
  5. in stdenv.mkDerivation rec {
  6. name = "z3-${version}";
  7. version = "4.6.0";
  8.  
  9. src = fetchFromGitHub {
  10. owner = "Z3Prover";
  11. repo = "z3";
  12. rev = "b0aaa4c6d7a739eb5e8e56a73e0486df46483222";
  13. sha256 = "1cgwlmjdbf4rsv2rriqi2sdpz9qxihxrcpm6a4s37ijy437xg78l";
  14. };
  15.  
  16. buildInputs = [ python fixDarwinDylibNames ];
  17. enableParallelBuilding = true;
  18.  
  19. configurePhase = ''
  20. ${python.interpreter} scripts/mk_make.py --prefix=$out --python --pypkgdir=$out/${python.sitePackages}
  21. cd build
  22. '';
  23.  
  24. meta = {
  25. description = "A high-performance theorem prover and SMT solver";
  26. homepage = "https://github.com/Z3Prover/z3";
  27. license = stdenv.lib.licenses.mit;
  28. platforms = stdenv.lib.platforms.unix;
  29. maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
  30. };
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement