(define-module (gn packages crates-io) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system cargo) #:use-module (gnu packages crates-io)) ;; Please keep these packages sorted alphabetically (define-public rust-itertools-0.7 (package (name "rust-itertools") (version "0.7.11") (source (origin (method url-fetch) (uri (crate-uri "itertools" version)) (file-name (string-append name "-" version ".crate")) (sha256 (base32 "03cpsj26xmyamcalclqzr1i700vwx8hnbgxbpjvs354f8mnr8iqd")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-either" ,rust-either-1.5)) #:cargo-development-inputs (("rust-permutohedron" ,rust-permutohedron-0.2) ("rust-quickcheck" ,rust-quickcheck-0.5)))) (home-page "https://github.com/rust-itertools/itertools") (synopsis "Extra iterator adaptors, iterator methods, free functions, and macros") (description "Extra iterator adaptors, iterator methods, free functions, and macros.") (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) (define-public rust-ndarray-0.12 (package (name "rust-ndarray") (version "0.12.1") (source (origin (method url-fetch) (uri (crate-uri "ndarray" version)) (file-name (string-append name "-" version ".crate")) (sha256 (base32 "0a5rfwcbqnvbwi3nw5sfz6kf0flhmjxs64s0b4kxc6lhmyl81wvw")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-itertools" ,rust-itertools-0.7) ("rust-matrixmultiply" ,rust-matrixmultiply-0.1) ("rust-num-complex" ,rust-num-complex-0.2) ;("rust-blas-src" ,rust-blas-src-0.2) ;("rust-cblas-src" ,rust-cblas-src-0.1) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-serde" ,rust-serde-1.0)) #:cargo-development-inputs (("rust-defmac" ,rust-defmac-0.1) ("rust-quickcheck" ,rust-quickcheck-0.7) ("rust-rawpointer" ,rust-rawpointer-0.1)))) (home-page "https://github.com/rust-ndarray/ndarray") (synopsis "ndarray implements an n-dimensional container for general elements and for numerics") (description "ndarray implements an n-dimensional container for general elements and for numerics.") (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) (define-public rust-structopt-0.2 (package (name "rust-structopt") (version "0.2.18") (source (origin (method url-fetch) (uri (crate-uri "structopt" version)) (file-name (string-append name "-" version ".crate")) (sha256 (base32 "1mvfv1l8vp3y402fkl2wcl34hi7gmr4bqha13dfz2xf3kjzwvhhn")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-clap" ,rust-clap-2) ("rust-structopt-derive" ,rust-structopt-derive-0.2)))) (home-page "https://github.com/TeXitoi/structopt") (synopsis "Parse command line arguments by defining a struct") (description "Parse command line arguments by defining a struct.") (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) (define-public rust-structopt-derive-0.2 (package (name "rust-structopt-derive") (version "0.2.18") (source (origin (method url-fetch) (uri (crate-uri "structopt-derive" version)) (file-name (string-append name "-" version ".crate")) (sha256 (base32 "01sis9z5kqmyhvzbnmlzpdxcry99a0b9blypksgnhdsbm1hh40ak")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-heck" ,rust-heck-0.3) ("rust-proc-macro2" ,rust-proc-macro2-0.4) ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))) (home-page "https://github.com/TeXitoi/structopt") (synopsis "Parse command line argument by defining a struct, derive crate") (description "Parse command line argument by defining a struct, derive crate.") (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat))))