From: Baptiste Strazzulla <bstrazzull@hotmail.fr>
To: 52027@debbugs.gnu.org
Subject: [bug#52027] [PATCH] Add lz4json
Date: Sun, 21 Nov 2021 19:55:22 +0000 [thread overview]
Message-ID: <PA4PR03MB7101460B8ABA8E1330BF86F2B99E9@PA4PR03MB7101.eurprd03.prod.outlook.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 312 bytes --]
Hello,
I couldn't figure out a license for this package. It says " * Copyright (c) 2014 Intel Corporation" in the source. I don't even know if it's an actual license. In any case, it doesn't seem really engaging and there's no mention of it in `licenses.scm`… How shall I proceed?
Kind regards,
Baptiste
[-- Attachment #1.2: Type: text/html, Size: 1225 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-lz4json.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-lz4json.patch", Size: 2126 bytes --]
From 8307da6cad6b9604f368eb2165c79906b9f9c0fd Mon Sep 17 00:00:00 2001
From: Zzull <bstrazzull@hotmail.fr>
Date: Sun, 21 Nov 2021 20:19:44 +0100
Subject: [PATCH] gnu: Add lz4json
* gnu/packages/gnuzilla.scm
---
gnu/packages/gnuzilla.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 9edfcaa2ab..029a1be480 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1992,3 +1992,40 @@ (define-public firefox-decrypt
(description "Firefox Decrypt is a tool to extract passwords from
Mozilla (Firefox, Waterfox, Thunderbird, SeaMonkey) profiles.")
(license license:gpl3+)))
+
+(define-public lz4json
+ (package
+ (name "lz4json")
+ (version "2")
+ (home-page "https://github.com/andikleen/lz4json")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference (url home-page) (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xxn8yzr6j8j6prmbj6mxspdczigarfiv3vlm9k70yxmky65ijh3"))))
+ (build-system gnu-build-system)
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (inputs `(("lz4" ,lz4)))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'check)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (man (string-append out "/share/man/man1")))
+ (install-file "lz4jsoncat" bin)
+ (install-file "lz4jsoncat.1" man))
+ #t)))
+ #:make-flags '("CC=gcc")))
+ (synopsis "C decompress tool for mozilla lz4json format")
+ (description
+ "A little utility to unpack lz4json files as generated by Firefox's
+bookmark backups and session restore. This is a different format from what
+the normal lz4 utility expects. The data is dumped to stdout.")
+ (license license:gpl3+)))
--
2.33.1
next reply other threads:[~2021-11-21 20:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-21 19:55 Baptiste Strazzulla [this message]
2021-11-21 20:27 ` [bug#52027] [PATCH] Add lz4json Nicolas Goaziou
2021-11-21 21:54 ` Baptiste Strazzulla
2021-11-22 10:24 ` bug#52027: " Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PA4PR03MB7101460B8ABA8E1330BF86F2B99E9@PA4PR03MB7101.eurprd03.prod.outlook.com \
--to=bstrazzull@hotmail.fr \
--cc=52027@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).