From a26057cff195ac8ce30b9c8da9c0e270ca01e65e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 24 Apr 2023 12:40:53 +0300 Subject: [PATCH] gnu: Add rust-nix-0.25. * gnu/packages/crates-io.scm (rust-nix-0.25): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c3b7c3c122..832a22506a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37883,6 +37883,28 @@ (define-public rust-nix-0.26 while still providing platform specific APIs.") (license license:expat))) +(define-public rust-nix-0.25 + (package + (inherit rust-nix-0.26) + (name "rust-nix") + (version "0.25.1") + (source (origin + (method url-fetch) + (uri (crate-uri "nix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1r4vyp5g1lxzpig31bkrhxdf2bggb4nvk405x5gngzfvwxqgyipk")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-autocfg" ,rust-autocfg-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.6) + ("rust-pin-utils" ,rust-pin-utils-0.1)))))) + (define-public rust-nix-0.24 (package (inherit rust-nix-0.26)