From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 67/86] gnu: Add rust-semver. Date: Tue, 3 Jan 2017 23:36:23 +0000 Message-ID: <20170103233642.3181-68-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYfK-0004Tp-U1 for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYfI-0002Dl-JM for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:49 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYfI-0002Cx-Cd for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:48 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYfH-0002sL-5j for guix-devel@gnu.org; Wed, 04 Jan 2017 00:38:47 +0100 In-Reply-To: <20170103233642.3181-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/rust.scm (rust-semver): New variable. --- gnu/packages/rust.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 5ecc157b4..ccb299449 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1837,3 +1837,28 @@ and serializing Rust structures.") (description "@code{semver-parser} enables parsing of the semver spec.") (license (list license:expat license:asl2.0)))) + +(define-public rust-semver + (package + (name "rust-semver") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "semver" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xbiv8l72rmngb3lgbmk3vd4lalcbzxcnrn085c2b75irl7gcbxf")))) + (build-system cargo-build-system) + (native-inputs + `(; TODO: ("rust-crates-index" ,rust-crates-index "src") + ("rust-tempdir" ,rust-tempdir "src"))) + (inputs + `(("rust-semver-parser" ,rust-semver-parser "src"))) + (home-page "https://docs.rs/crate/semver/") + (synopsis "Semantic version parsing and comparison") + (description + "@code{semver} provides semantic version parsing and comparison.") + (license (list license:expat license:asl2.0)))) -- 2.11.0