remove pushed z3

Julien LepillerSun Jul 30 10:40:51+0200 2017

e993ab3

remove pushed z3

more/packages/smt.scm

2323
  #:use-module (guix build-system python)
2424
  #:use-module ((guix licenses) #:prefix license:)
2525
  #:use-module (gnu packages)
26+
  #:use-module (gnu packages maths)
2627
  #:use-module (gnu packages ocaml)
2728
  #:use-module (gnu packages python)
2829
  #:use-module (more packages python))
2930
30-
(define-public z3-solver
31-
  (package
32-
    (name "z3-solver")
33-
    (version "4.5.0")
34-
    (source (origin
35-
              (method url-fetch)
36-
              (uri (string-append "https://github.com/Z3Prover/z3/archive/z3-"
37-
                                  version ".tar.gz"))
38-
              (sha256
39-
               (base32
40-
                "032a5lvji2liwmc25jv52bdrhimqflvqbpg77ccaq1jykhiivbmf"))
41-
              (file-name (string-append name "-" version ".tar.gz"))))
42-
    (build-system gnu-build-system)
43-
    (arguments
44-
     `(#:phases
45-
       (modify-phases %standard-phases
46-
         (delete 'configure)
47-
         (add-before 'build 'generate-make
48-
           (lambda _
49-
             (system* "python" "scripts/mk_make.py")
50-
             (chdir "build"))))
51-
       #:test-target "test"
52-
       #:make-flags
53-
       (list (string-append "PREFIX=" (assoc-ref %outputs "out")))))
54-
    (native-inputs
55-
     `(("python" ,python-2)))
56-
    (home-page "https://github.com/Z3Prover/z3")
57-
    (synopsis "SMT solver library")
58-
    (description "Z3 is a theorem prover from Microsoft Research.")
59-
    (license license:expat)))
60-
6131
(define-public python2-z3-solver
6232
  (package
63-
    (inherit z3-solver)
33+
    (inherit z3)
6434
    (name "python2-z3-solver")
6535
    (build-system python-build-system)
6636
    (propagated-inputs
67-
     `(("z3" ,z3-solver)))
37+
     `(("z3" ,z3)))
6838
    (arguments
6939
     `(#:python ,python-2
7040
       #:phases