From 0bf26addc71cb5618935902b40a522c24ab30c64 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Sun, 19 Jan 2020 01:14:15 +0300 Subject: [PATCH 088/275] gnu: Add rust-same-file-0.1. * gnu/packages/crates-io.scm (rust-same-file-0.1): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0bd9049b68..744adfbbc9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11156,6 +11156,35 @@ paths point to the same file.") (license (list license:unlicense license:expat)))) +(define-public rust-same-file-0.1 + (package + (name "rust-same-file") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "same-file" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19qpl6j8s3ph9jm8rh1k0wp2nkyw5ah34xly00vqcfx4v97s8cfr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) + ("rust-winapi" ,rust-winapi-0.2)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3)))) + (home-page + "https://github.com/BurntSushi/same-file") + (synopsis + "A simple crate for determining whether two file paths point to the same file") + (description + "This package provides a simple crate for determining whether two file paths +point to the same file.") + (license (list license:unlicense license:expat)))) + (define-public rust-schannel-0.1 (package (name "rust-schannel") -- 2.25.0