diff options
| author | Sergey Trofimov <sarg@sarg.org.ru> | 2026-04-03 10:48:36 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-04-03 13:01:21 +0300 |
| commit | ccdfd3190a8eb36d27e97fe790c619151905191a (patch) | |
| tree | 29fa81a519eccaf593fbdf13b2eb04b39d5e209b /gnu/packages/rust-apps.scm | |
| parent | 2181b0f5fb669064dd6e5fe44f4cd2284b17ba7a (diff) | |
gnu: Add mdopen.
* gnu/packages/rust-apps.scm (mdopen): New variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs): Add entry for
mdopen.
Change-Id: Id9cbb70a66ce1bdd96824fa58d15bf928bcfa8b4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/rust-apps.scm')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 55526adc5c6..a3c737853ee 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -2309,6 +2309,37 @@ specified image or color, easing the process of theme creation.") @code{cffi} bindings as well as rust binaries as python packages.") (license (list license:expat license:asl2.0)))) +(define-public mdopen + (package + (name "mdopen") + (properties '((commit . "3858a4d2222ac789b168729ac1ae7b726342526e"))) + (version (git-version "0.5.0" "0" + (assoc-ref properties + 'commit))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/immanelg/mdopen") + (commit (assoc-ref properties + 'commit)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "024pv3wg6dg7yh8acpq3m0rrh046zfmcs940jivkjh8i9a5s2k3b")))) + (arguments + (list + #:install-source? #f + #:tests? #f)) ;tests are non-functional + (build-system cargo-build-system) + (inputs (cons* openssl oniguruma + (cargo-inputs 'mdopen))) + (native-inputs (list pkg-config)) + (home-page "https://github.com/immanelg/mdopen") + (synopsis "Markdown preview server") + (description "Quickly preview local markdown files in browser with +GitHub-like look.") + (license license:gpl3+))) + (define-public mitm-cache (package (name "mitm-cache") |
