From cc2849bc8c76883d4cebc358c72f11114c51ab9a Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Mon, 17 Aug 2020 18:13:29 -0400 Subject: [PATCH] gnu: Add rust-cbindgen@0.14.1. * gnu/packages/rust-apps.scm (rust-cbindgen-0.14): New variable. --- gnu/packages/rust-apps.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index d0960226c5..76be9acad1 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Leo Famulari +;;; Copyright © 2020 Mark H Weaver ;;; ;;; This file is part of GNU Guix. ;;; @@ -292,6 +293,21 @@ gitignore rules.") "This package provides a tool for generating C/C++ bindings to Rust code.") (license license:mpl2.0))) +(define-public rust-cbindgen-0.14 + (package + (inherit rust-cbindgen) + (name "rust-cbindgen") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cbindgen" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ppwqbzydxlg9a24lynzfk60xrvqw4k31mpz1wrk6lbf88zf8nxi")))))) + (define-public rust-cbindgen-0.12 (package (inherit rust-cbindgen)