mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-forgejo-api-0.5.
* gnu/packages/crates-vcs.scm (rust-forgejo-api-0.5): New variable. (rust-forgejo-api-0.4): Inherit from rust-forgejo-api-0.5. Change-Id: Ia1e78f820312e15c1eb24856eda599e3896d3899
This commit is contained in:
parent
3650421718
commit
5530b2112a
1 changed files with 34 additions and 3 deletions
|
@ -137,17 +137,17 @@
|
||||||
("rust-serial-test" ,rust-serial-test-3)
|
("rust-serial-test" ,rust-serial-test-3)
|
||||||
("rust-tempfile" ,rust-tempfile-3))))))
|
("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
|
|
||||||
(define-public rust-forgejo-api-0.4
|
(define-public rust-forgejo-api-0.5
|
||||||
(package
|
(package
|
||||||
(name "rust-forgejo-api")
|
(name "rust-forgejo-api")
|
||||||
(version "0.4.1")
|
(version "0.5.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "forgejo-api" version))
|
(uri (crate-uri "forgejo-api" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0bc1m39g3i8mm70cf35hcqh898xpm2y4x819y8qfaaw6pnhg90pn"))))
|
(base32 "114lhnafx34xak9dx7hcsvgdr48bnzn7k32al276h00jl9wjd3ag"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f ; Wants to run against a forgejo instance.
|
(list #:tests? #f ; Wants to run against a forgejo instance.
|
||||||
|
@ -174,6 +174,37 @@
|
||||||
(description "This package provides an interface to Forgejo's Web API.")
|
(description "This package provides an interface to Forgejo's Web API.")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-forgejo-api-0.4
|
||||||
|
(package
|
||||||
|
(inherit rust-forgejo-api-0.5)
|
||||||
|
(name "rust-forgejo-api")
|
||||||
|
(version "0.4.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "forgejo-api" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0bc1m39g3i8mm70cf35hcqh898xpm2y4x819y8qfaaw6pnhg90pn"))))
|
||||||
|
(arguments
|
||||||
|
(list #:tests? #f ; Wants to run against a forgejo instance.
|
||||||
|
#:cargo-inputs
|
||||||
|
(list rust-base64ct-1
|
||||||
|
rust-bytes-1
|
||||||
|
rust-reqwest-0.11
|
||||||
|
rust-serde-1
|
||||||
|
rust-serde-json-1
|
||||||
|
rust-soft-assert-0.1
|
||||||
|
rust-thiserror-1
|
||||||
|
rust-time-0.3
|
||||||
|
rust-tokio-1
|
||||||
|
rust-url-2
|
||||||
|
rust-zeroize-1)
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(list rust-eyre-0.6
|
||||||
|
rust-reqwest-0.11
|
||||||
|
rust-tokio-1)))))
|
||||||
|
|
||||||
(define-public rust-git-testament-0.2
|
(define-public rust-git-testament-0.2
|
||||||
(package
|
(package
|
||||||
(name "rust-git-testament")
|
(name "rust-git-testament")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue