From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KAG2L6Dr72L1CwEAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 18:43:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UGarL6Dr72JPCAEAauVa8A (envelope-from ) for ; Sun, 07 Aug 2022 18:43:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 85B13843D for ; Sun, 7 Aug 2022 18:43:11 +0200 (CEST) Received: from localhost ([::1]:58052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKjMs-0006Xm-Bw for larch@yhetil.org; Sun, 07 Aug 2022 12:43:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKjMl-0006XO-0K for guix-patches@gnu.org; Sun, 07 Aug 2022 12:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKjMk-0003cV-No for guix-patches@gnu.org; Sun, 07 Aug 2022 12:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKjMk-0000yk-Dd for guix-patches@gnu.org; Sun, 07 Aug 2022 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57034] [PATCH] gnu: packages: Add miniz. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 16:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57034 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(" , 57034@debbugs.gnu.org Received: via spool by 57034-submit@debbugs.gnu.org id=B57034.16598905673732 (code B ref 57034); Sun, 07 Aug 2022 16:43:02 +0000 Received: (at 57034) by debbugs.gnu.org; 7 Aug 2022 16:42:47 +0000 Received: from localhost ([127.0.0.1]:38224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKjMV-0000y8-8U for submit@debbugs.gnu.org; Sun, 07 Aug 2022 12:42:47 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:45930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKjMR-0000xr-2C for 57034@debbugs.gnu.org; Sun, 07 Aug 2022 12:42:46 -0400 Received: by mail-ej1-f66.google.com with SMTP id dc19so12611450ejb.12 for <57034@debbugs.gnu.org>; Sun, 07 Aug 2022 09:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=r0t5mcXkq8/rx8DunyUhZbbYz70NF4/gnLLMrdiFatY=; b=NWpdQtFBEeJ6c/Pqc1kY6GvPct+IaiJNTpcJEj/QUWSlynt+bHjoAOrz0ojfAlYtIz oEXVEqo2ZEPb4y+wH6w9aDJ1DkstcHzhFmunT2QHRL/HKI9GKc6pwdjEtASgzFJLSbOq kfle13zZIFe7MG0f5KpiXRCGyXESkBTPDh5keA8zHFlo6GYD4aNZd0AUxDokO6QTh3q6 V1ARfyWFIvaJS03cmX45Gc9qlym8Kt2OoZz9lLzJPjDWEAeV7780sw3H5NTLWAkdc4CP HnQc0BORxNMFq922qCQ+Wd0Eouq1oCjSJ8MVWD4lJ4DkvB8NhxFfOhq+HVRDyAoGdd+4 vipw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=r0t5mcXkq8/rx8DunyUhZbbYz70NF4/gnLLMrdiFatY=; b=gSET/Lxe1pItXUkDI/A413Znclu9jhxy7ZFi6tihmury/0yvk0VIY6E9UfuZiGJTww vfcjXCbWEx03r/ktSi0y+20GtKZcncQyhCtI5VJWhOg0qa14ns/i8zkZmVFM98o0oKmR nIB51Ce9k3TloSJqp79KuP3E7dl1YxKmT9085mQz87xjZcL0yz/z2WkC6LsWbS7kW07Q PgjiVvB1ZnTXGRtv+ijAn61MKMLdBtNo253b4V993mxHvTCVycruycFv757mPgAsq4Zn y0k7r45jlP0mIkkscQwSuUXyrAK1mu3ZvMpMYN6rBa8ZIqZv3s4XDM+kaiASUEyNaKFZ EXDA== X-Gm-Message-State: ACgBeo3D76jKslRl+Hlt44kYry+0gNimqBYkXRR+ijIEj6tOgTlItpuf m2PY9uVY6rPgaxy2LGyPXB0= X-Google-Smtp-Source: AA6agR78//a+mRQzyWQdDPM+u2BkAZuoSeBqo6Yk9ipTFh47q7GxVyJ5qEjzlL43ywGGgsWVoCqWtw== X-Received: by 2002:a17:907:da2:b0:731:60e4:2261 with SMTP id go34-20020a1709070da200b0073160e42261mr587626ejc.679.1659890556996; Sun, 07 Aug 2022 09:42:36 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id qw13-20020a170906fcad00b0072b6d91b056sm4050784ejb.142.2022.08.07.09.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Aug 2022 09:42:36 -0700 (PDT) Message-ID: <1c8bc45b27083d351e3930006c51675e00d3d15b.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 07 Aug 2022 18:42:35 +0200 In-Reply-To: <20220807120201.19970-1-paren@disroot.org> References: <20220807120201.19970-1-paren@disroot.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659890591; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=r0t5mcXkq8/rx8DunyUhZbbYz70NF4/gnLLMrdiFatY=; b=hLl1xlb2hhOuGFhQZSAIxdgWNgC0UBnW28dtez5Dagw9Rgwxhpp2DynMJy7uHjYYQJNiVr XP8APaVyBCfC3LeEi59uukAZm+r31rv+HEyaK8mz6LaqPFOccAO2fKn5Ud7DHVt6I+S9Cy GOCmQwn03ZzzSUIqH48ELdQal4qxG6q8X3v/3vgpaY0r6fH7lwgxlDKU+rDSEIn7IBsU/d xD9DGKzhvbBB0GTMZg39++kgKSwzIxRmWd7PawLIK35NkkmPm7j1rBBWp+TWo3wscNcqNO QlLJ9lJqDIYU2h7aJNheSMd1kRxT/7Kgfx4Ty1abmLnqaBPoULUw4ehTVaroeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659890591; a=rsa-sha256; cv=none; b=OpMd4GKgNiyL3oxsdMoL+NZEhbofzfu8mCGz1JvLFVFxdrmFhiX+20exsRbEM224WBYvG1 dDwLTzWixjX9rFbm3LbZBgBbiSBZuQa2+PlvaoupiR+Ll6t5kFQXbZug1qbfEa7Kf22TL2 poqSCzL/xDTagdcGcY/zMXJF+SWB/Xfh0YHJzMoIq76AmZXKNFf1KF+fy9SXmxyKDjAeRL EPWd9QTrKsKHiZ2eSqrjiKaD3yRlxiPKlBq5cxxvl6R8mbqgzT+dLw7gg1F8q90AmlGtZ4 gxGWnUz3fkFfEpO0KgV+8o5hCHckBUoyTsC9W1xrFcPA21SJevQii9QjyElstg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NWpdQtFB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NWpdQtFB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 85B13843D X-Spam-Score: 6.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: svuqvKHKSU3S Hi (, last time I checked, the template was "gnu: Add PACKAGE", not "gnu: packages: Add PACKAGE." Am Sonntag, dem 07.08.2022 um 13:02 +0100 schrieb (: > * gnu/packages/compression.scm (miniz): New variable. > --- >  gnu/packages/compression.scm | 32 ++++++++++++++++++++++++++++++++ >  1 file changed, 32 insertions(+) > > diff --git a/gnu/packages/compression.scm > b/gnu/packages/compression.scm > index 6070c5beb1..cb1283c9a1 100644 > --- a/gnu/packages/compression.scm > +++ b/gnu/packages/compression.scm > @@ -35,6 +35,7 @@ >  ;;; Copyright © 2021 Simon Tournier >  ;;; Copyright © 2021 Maxim Cournoyer >  ;;; Copyright © 2021 Ahmad Jarara > +;;; Copyright © 2022 ( >  ;;; >  ;;; This file is part of GNU Guix. >  ;;; > @@ -2784,3 +2785,34 @@ (define-public fcrackzip >      (synopsis "Zip password cracker") >      (description "Fcrackzip is a Zip file password cracker.") >      (license license:gpl2+))) > + > +(define-public miniz > +  ;; Last release was on 27-06-2021; there have been many commits > since > +  ;; then. And there might still be many more until a release. I don't think using untagged commits "just because" if the latest release is barely a year old is a good idea. > +  (let ((commit "be92575500f71dfb5ac7b0c5bb47b6e736c23039") > +        (revision "0")) > +    (package > +     (name "miniz") > +     (version (git-version "2.2.0" revision commit)) > +     (source (origin > +              (method git-fetch) > +              (uri (git-reference > +                    (url "https://github.com/richgel999/miniz") > +                    (commit commit))) > +              (file-name (git-file-name name version)) > +              (sha256 > +               (base32 > +                > "0w42vagcv4b0hcf0jk7vamrcpmw62dblx9856j98msdfm3qv1xzi")))) > +     (build-system cmake-build-system) > +     (arguments > +      (list #:configure-flags > +            #~(list "-DBUILD_SHARED_LIBS=ON") > +            ;; No test target. > +            #:tests? #f)) There is a test script you could use. > +     (home-page "https://github.com/richgel999/miniz") > +     (synopsis "Simple replacement for @code{zlib}") > +     (description > +      "@code{miniz} is a small, simple alternative to the > @code{zlib} > +data compression library for manipulating zlib, DEFLATE, PNG, and > ZIP > +files from C.") Avoid marketing terms :)