diff options
author | techchud <protrude_paying969@simplelogin.com> | 2025-09-01 19:23:19 -0500 |
---|---|---|
committer | techchud <protrude_paying969@simplelogin.com> | 2025-09-01 19:23:19 -0500 |
commit | df2c8221097411f77166c36f474042c2bd2938c0 (patch) | |
tree | 92cdaa1461dd6dba82a499f1dcc7e4e359d4d6b9 | |
parent | 4d44dd58debe17711f33ce76a9921bd3c8b2a48d (diff) | |
download | guix-techchud-df2c8221097411f77166c36f474042c2bd2938c0.tar.gz guix-techchud-df2c8221097411f77166c36f474042c2bd2938c0.tar.bz2 guix-techchud-df2c8221097411f77166c36f474042c2bd2938c0.zip |
re-add rust-serde and its deps
-rw-r--r-- | unlustig.scm | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/unlustig.scm b/unlustig.scm index b1969f2..168e8a2 100644 --- a/unlustig.scm +++ b/unlustig.scm @@ -2179,3 +2179,54 @@ See winapi for types and constants.") "This package provides DEPRECATED: Use Cargo environment variables `CARGO_CFG_TARGET_*`.") (license (list license:isc license:asl2.0)))) +(define-public rust-serde-1 + (package + (name "rust-serde") + (version "1.0.216") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13ikqs0cvd220530x4rj1m9ab5wcflrwkw7cpvl9fnlkdq0q35qb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde-derive" ,rust-serde-derive-1)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://serde.rs") + (synopsis "Generic serialization/deserialization framework") + (description + "This package provides a generic serialization/deserialization framework.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-serde-derive-1 + (package + (name "rust-serde-derive") + (version "1.0.216") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pm5bm4354n40ir12bbs829arlqwjrw0wmzd4xk5r1kkpzdmky26")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde-1)))) + (home-page "https://serde.rs") + (synopsis "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]") + (description + "This package provides the macros 1.1 implementation of +@code{#[derive(Serialize, Deserialize)]}.") + (license (list license:expat license:asl2.0)))) + |