guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50662] [PATCH 04/34] gnu: Add rust-obfstr-0.3.


From: Vinicius Monego
Subject: [bug#50662] [PATCH 04/34] gnu: Add rust-obfstr-0.3.
Date: Sat, 18 Sep 2021 16:13:06 +0000

* gnu/packages/crates-io.scm (rust-obfstr-0.3): 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 4a2a4d11a7..9c77969505 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30798,6 +30798,28 @@ giga, kibi.")
      "This package can convert numbers into stack-allocated byte arrays.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-obfstr-0.3
+  (package
+    (name "rust-obfstr")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "obfstr" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0y5azgk8ds43m1sd5pc4hhakxzxkfcfscl24y8gsbvwdznxjqavv"))))
+    (arguments
+     `(#:rust ,rust-1.52)) ; fix for E0658
+    (build-system cargo-build-system)
+    (home-page "https://github.com/CasualX/obfstr";)
+    (synopsis "Compile time string constant obfuscation for Rust")
+    (description "This package provides a compile time string constant
+obfuscation for Rust.  The string constant itself is embedded in obfuscated
+form and deobfuscated locally.")
+    (license license:expat)))
+
 (define-public rust-obj-0.9
   (package
     (name "rust-obj")
-- 
2.30.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]