Add veles
more/packages/binary.scm
| 23 | 23 | #:use-module (guix download) | |
| 24 | 24 | #:use-module (guix git-download) | |
| 25 | 25 | #:use-module (guix utils) | |
| 26 | + | #:use-module (guix build-system cmake) | |
| 26 | 27 | #:use-module (guix build-system gnu) | |
| 27 | 28 | #:use-module (guix build-system python) | |
| 29 | + | #:use-module (gnu packages check) | |
| 28 | 30 | #:use-module (gnu packages compression) | |
| 29 | 31 | #:use-module (gnu packages glib) | |
| 30 | 32 | #:use-module (gnu packages libffi) | |
| 31 | 33 | #:use-module (gnu packages multiprecision) | |
| 32 | 34 | #:use-module (gnu packages pkg-config) | |
| 33 | 35 | #:use-module (gnu packages python) | |
| 36 | + | #:use-module (gnu packages python-crypto) | |
| 37 | + | #:use-module (gnu packages qt) | |
| 34 | 38 | #:use-module (gnu packages tls) | |
| 35 | 39 | #:use-module (more packages python) | |
| 36 | 40 | #:use-module (more packages smt)) | |
… | |||
| 544 | 548 | x86 chips.") | |
| 545 | 549 | ;; No license! | |
| 546 | 550 | (license license:expat))) | |
| 551 | + | ||
| 552 | + | (define-public veles | |
| 553 | + | (package | |
| 554 | + | (name "veles") | |
| 555 | + | (version "2017.06.0.1") | |
| 556 | + | (source (origin | |
| 557 | + | (method url-fetch) | |
| 558 | + | (uri (string-append "https://github.com/codilime/veles/archive/" | |
| 559 | + | version ".tar.gz")) | |
| 560 | + | (file-name (string-append name "-" version ".tar.gz")) | |
| 561 | + | (sha256 | |
| 562 | + | (base32 | |
| 563 | + | "0sv0y0sbx9pjdg755ily3ga7h021531066s0q8niy8nsz7ql9m9b")))) | |
| 564 | + | (build-system cmake-build-system) | |
| 565 | + | (arguments | |
| 566 | + | `(#:configure-flags | |
| 567 | + | (list (string-append "-DMSGPACK_INCLUDE_PATH=" | |
| 568 | + | (assoc-ref %build-inputs "python-msgpack") | |
| 569 | + | "/include")) | |
| 570 | + | #:phases | |
| 571 | + | (modify-phases %standard-phases | |
| 572 | + | (add-before 'configure 'fix-python-deps | |
| 573 | + | (lambda _ | |
| 574 | + | (substitute* "python/requirements.txt" | |
| 575 | + | (("six==1.10.0") "six>=1.10.0") | |
| 576 | + | (("msgpack-python==0.4.8") "msgpack>=0.4.8")) | |
| 577 | + | #t))))) | |
| 578 | + | (inputs | |
| 579 | + | `(("openssl" ,openssl) | |
| 580 | + | ("python" ,python) | |
| 581 | + | ("python-msgpack" ,python-msgpack) | |
| 582 | + | ("python-pbr" ,python-pbr) | |
| 583 | + | ("python-pyopenssl" ,python-pyopenssl) | |
| 584 | + | ("python-six" ,python-six) | |
| 585 | + | ("qtbase" ,qtbase) | |
| 586 | + | ("zlib" ,zlib))) | |
| 587 | + | (native-inputs | |
| 588 | + | `(("googletest" ,googletest))) | |
| 589 | + | (home-page "https://codisec.com/veles/") | |
| 590 | + | (synopsis "") | |
| 591 | + | (description "") | |
| 592 | + | (license license:asl2.0))) | |