mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: Add python-md-ulb-pwrap.
* gnu/packages/python-xyz.scm (python-md-ulb-pwrap): New variable. * gnu/packages/rust-crates.scm: Add crates for md_uld_pwrap. Change-Id: I04b243575a48f607db18459521a55cc69c2ddeaf Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
cefb21722e
commit
abad8f4265
2 changed files with 124 additions and 0 deletions
|
|
@ -3899,6 +3899,64 @@ the versioning system in PEP 517 build frontends.")
|
|||
ports.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public python-md-ulb-pwrap
|
||||
(package
|
||||
(name "python-md-ulb-pwrap")
|
||||
(version "0.1.3")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/mondeja/md-ulb-pwrap")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "08zqms8mz3m4kfsnjqapc8sjyjcaz82pq45lix6rjag67s0dhcn6"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:imported-modules `(,@%cargo-build-system-modules
|
||||
,@%pyproject-build-system-modules)
|
||||
#:modules '(((guix build cargo-build-system) #:prefix cargo:)
|
||||
(guix build pyproject-build-system)
|
||||
(guix build utils))
|
||||
#:test-backend #~'custom
|
||||
#:test-flags #~(list "test.py")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'prepare-cargo-build-system
|
||||
(lambda args
|
||||
(for-each
|
||||
(lambda (phase)
|
||||
(format #t "Running cargo phase: ~a~%" phase)
|
||||
(apply (assoc-ref cargo:%standard-phases phase)
|
||||
#:cargo-target #$(cargo-triplet)
|
||||
args))
|
||||
'(unpack-rust-crates
|
||||
configure
|
||||
check-for-pregenerated-files
|
||||
patch-cargo-checksums))))
|
||||
(add-after 'prepare-cargo-build-system 'chdir
|
||||
(lambda _
|
||||
(chdir "python"))))))
|
||||
(native-inputs
|
||||
(append
|
||||
(list maturin
|
||||
python-pytest
|
||||
python-unicode-linebreak
|
||||
rust
|
||||
`(,rust "cargo"))
|
||||
(or (and=> (%current-target-system)
|
||||
(compose list make-rust-sysroot))
|
||||
'())))
|
||||
(inputs (cargo-inputs 'md_ulb_pwrap))
|
||||
(home-page "https://github.com/mondeja/md-ulb-pwrap")
|
||||
(synopsis "Markdown paragraph wrapper")
|
||||
(description
|
||||
"This package provides a Markdown paragraph wrapper using Unicode Line
|
||||
Breaking Algorithm written in Rust with Python bindings.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-mdx-gh-links
|
||||
(package
|
||||
(name "python-mdx-gh-links")
|
||||
|
|
|
|||
|
|
@ -14942,6 +14942,10 @@
|
|||
"0abjav5868avfgb8fjfvz2dbpm916zmhm8xvxzfgns5hhq033nhp"
|
||||
#:snippet '(delete-file-recursively "branding")))
|
||||
|
||||
(define rust-pyo3-0.24.2
|
||||
(crate-source "pyo3" "0.24.2"
|
||||
"06cjzkam3xsxi8q1l4pxi45gya8jb6mhr8isn411mcb6yfc3a875"))
|
||||
|
||||
(define rust-pyo3-0.25.0
|
||||
(crate-source "pyo3" "0.25.0"
|
||||
"19277ka0xfam1sljmm5129iars41nbqpflpqzqxfgkiv6rbdcfgj"))
|
||||
|
|
@ -15002,6 +15006,10 @@
|
|||
(crate-source "pyo3-build-config" "0.24.1"
|
||||
"1hazmb2hm7qad5xcy9gajwj3231hqjnndfcb145014ypkf46awg2"))
|
||||
|
||||
(define rust-pyo3-build-config-0.24.2
|
||||
(crate-source "pyo3-build-config" "0.24.2"
|
||||
"16cr3sxpwgz532a65b6ak1px81l061ck1pmcll7i7jm27x16sqwr"))
|
||||
|
||||
(define rust-pyo3-build-config-0.25.0
|
||||
(crate-source "pyo3-build-config" "0.25.0"
|
||||
"0v8viwyp3whd39wywfh0lv53kjhrykvalisj2vx48h63l5qscpkm"))
|
||||
|
|
@ -15050,6 +15058,10 @@
|
|||
(crate-source "pyo3-ffi" "0.24.1"
|
||||
"1g5a5w7rsq2afb5zamz1jjx5834cnwlg4gig0qhb9xnvw4k0aa05"))
|
||||
|
||||
(define rust-pyo3-ffi-0.24.2
|
||||
(crate-source "pyo3-ffi" "0.24.2"
|
||||
"0cwyspd1lfnzhwx48b9r48n2vnwhkm0ba19kpiwr4h4wpa9czybq"))
|
||||
|
||||
(define rust-pyo3-ffi-0.25.0
|
||||
(crate-source "pyo3-ffi" "0.25.0"
|
||||
"0vlm6m6q3060g2gzvfpijkrr6lmy8kvhyc7asj8lgr4if3ka55gw"))
|
||||
|
|
@ -15106,6 +15118,10 @@
|
|||
(crate-source "pyo3-macros" "0.24.1"
|
||||
"0i2zrpazxwgfbpmzvrcqhdgg3j97l5i0q455b4rzdlx4d9lfag2w"))
|
||||
|
||||
(define rust-pyo3-macros-0.24.2
|
||||
(crate-source "pyo3-macros" "0.24.2"
|
||||
"1ngcgh20fc0g77f79v1s0kh05pzykyzg3p27n6kgj8fflsqrr68b"))
|
||||
|
||||
(define rust-pyo3-macros-0.25.0
|
||||
(crate-source "pyo3-macros" "0.25.0"
|
||||
"0502a6860s62sw7vlw92vg4bd4fp1ryfh59glqlhi4lk3cfn8yd1"))
|
||||
|
|
@ -15158,6 +15174,10 @@
|
|||
(crate-source "pyo3-macros-backend" "0.24.1"
|
||||
"0m9q9zlwn5s0pa2819z3a13yn94pmq1q3swvx04fvc5z1jm6zkzl"))
|
||||
|
||||
(define rust-pyo3-macros-backend-0.24.2
|
||||
(crate-source "pyo3-macros-backend" "0.24.2"
|
||||
"06lixywqwddr0gg4qk5kgh7ryxkl535hpkym0xb784hhgqfcwbl2"))
|
||||
|
||||
(define rust-pyo3-macros-backend-0.25.0
|
||||
(crate-source "pyo3-macros-backend" "0.25.0"
|
||||
"17p8l74mxkrzwd3zcx2yky5fmv33d45f8yiz1qdl935brbmqbzwx"))
|
||||
|
|
@ -38236,6 +38256,52 @@
|
|||
rust-zerovec-derive-0.10.3
|
||||
rust-zip-2.6.1
|
||||
rust-zopfli-0.8.1))
|
||||
(md_ulb_pwrap =>
|
||||
(list rust-aho-corasick-1.1.4
|
||||
rust-autocfg-1.5.0
|
||||
rust-cfg-if-1.0.4
|
||||
rust-futures-0.3.31
|
||||
rust-futures-channel-0.3.31
|
||||
rust-futures-core-0.3.31
|
||||
rust-futures-executor-0.3.31
|
||||
rust-futures-io-0.3.31
|
||||
rust-futures-macro-0.3.31
|
||||
rust-futures-sink-0.3.31
|
||||
rust-futures-task-0.3.31
|
||||
rust-futures-timer-3.0.3
|
||||
rust-futures-util-0.3.31
|
||||
rust-glob-0.3.3
|
||||
rust-heck-0.5.0
|
||||
rust-indoc-2.0.7
|
||||
rust-libc-0.2.177
|
||||
rust-memchr-2.7.6
|
||||
rust-memoffset-0.9.1
|
||||
rust-once-cell-1.21.3
|
||||
rust-pin-project-lite-0.2.16
|
||||
rust-pin-utils-0.1.0
|
||||
rust-portable-atomic-1.11.1
|
||||
rust-proc-macro2-1.0.103
|
||||
rust-pyo3-0.24.2
|
||||
rust-pyo3-build-config-0.24.2
|
||||
rust-pyo3-ffi-0.24.2
|
||||
rust-pyo3-macros-0.24.2
|
||||
rust-pyo3-macros-backend-0.24.2
|
||||
rust-quote-1.0.42
|
||||
rust-regex-1.12.2
|
||||
rust-regex-automata-0.4.13
|
||||
rust-regex-syntax-0.8.8
|
||||
rust-relative-path-1.9.3
|
||||
rust-rstest-0.19.0
|
||||
rust-rstest-macros-0.19.0
|
||||
rust-rustc-version-0.4.1
|
||||
rust-rustversion-1.0.22
|
||||
rust-semver-1.0.27
|
||||
rust-slab-0.4.11
|
||||
rust-syn-2.0.111
|
||||
rust-target-lexicon-0.13.2
|
||||
rust-unicode-ident-1.0.22
|
||||
rust-unicode-linebreak-0.1.5
|
||||
rust-unindent-0.2.4))
|
||||
(mitm-cache =>
|
||||
(list rust-adler2-2.0.1
|
||||
rust-aho-corasick-1.1.4
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue