From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6VVEOQ7caGBo7AAAgWs5BA (envelope-from ) for ; Sat, 03 Apr 2021 23:20:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0NI+Mg7caGCWVAAAbx9fmQ (envelope-from ) for ; Sat, 03 Apr 2021 21:20:14 +0000 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 8E665836F for ; Sat, 3 Apr 2021 23:20:14 +0200 (CEST) Received: from localhost ([::1]:60498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSngj-0003lU-Gi for larch@yhetil.org; Sat, 03 Apr 2021 17:20:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSnga-0003kS-Vr for guix-patches@gnu.org; Sat, 03 Apr 2021 17:20:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51201) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSngY-0003yb-5T for guix-patches@gnu.org; Sat, 03 Apr 2021 17:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lSngY-0007bm-0u for guix-patches@gnu.org; Sat, 03 Apr 2021 17:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47585] [PATCH] gnu: Add node-wrappy. Resent-From: Ron Nazarov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Apr 2021 21:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47585 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47585@debbugs.gnu.org Cc: Ron Nazarov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161748478929215 (code B ref -1); Sat, 03 Apr 2021 21:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2021 21:19:49 +0000 Received: from localhost ([127.0.0.1]:34514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSngK-0007b8-1q for submit@debbugs.gnu.org; Sat, 03 Apr 2021 17:19:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:33858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSngI-0007b1-52 for submit@debbugs.gnu.org; Sat, 03 Apr 2021 17:19:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSngH-0003hl-Ta for guix-patches@gnu.org; Sat, 03 Apr 2021 17:19:45 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSngF-0003oL-14 for guix-patches@gnu.org; Sat, 03 Apr 2021 17:19:45 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3831750CE3; Sat, 3 Apr 2021 23:19:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CO1GCqGHtdnw; Sat, 3 Apr 2021 23:19:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1617484776; bh=+ABQOa8hfb7Y41coAR+Kp9l+eU4hN21erWg7aokXBso=; h=From:To:Cc:Subject:Date; b=dd8Ue0TjHi1fq04IgzFuBvdvk8K8sEd5ItlDw24LG1Vhc5PMXpmYw1PLBlPBxcwXj JxnNkiuahYbwYTGyiOht/G77VAC0MIAk0pGsxa2tKfXJNKaSPEk44oDDyK7fRyKv5Z g0CjNAbKWKVtyyOqLfIVoJ6LrYBeaANr8L6n0PsMzbCur7z39W1Ikfc1COY8xvcD2Q y6HxuMQgaEi//I/RIA1Ot2QsQeppb/NnzdgQIpORsqTzAlGPtqC5ZPq7dOCibMEgtu DL2jNN+0kIZrB59WWfSuLFi6HcuVkF5qzcfKPSRL7xsim/frwK4k9yVcmbT6Itvnfy Oz72PU7lQsWcw== Date: Sat, 3 Apr 2021 22:19:08 +0100 Message-Id: <20210403211908.106880-1-noisytoot@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=noisytoot@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Ron Nazarov X-ACL-Warn: , Ron Nazarov via Guix-patches From: Ron Nazarov via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617484814; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OxntU198kCVba4HMOt+DhJNIG7UOBmrvF2BpxYh+X/0=; b=XgyutMS2/xm/0DF4LtAVDJpYo6T8l4WjitskJu7IdHzA5Cdpyjlfj1TvOXXwB9np8pp04J ZhL5nqOWe2wv5m6LloV2bQFiUNhEmja8ulD/9HG9pA889e/W6XypwJAM/5W0LJUY5905cb ROr6jB001lDHAeE9Rg0VHj+TuAEX2HLDjyGZNsnWBttEWsMQ3Objx9D2ugU9++XK4hZBYr DDeTBbYBQE1g/vUJ7jB66xWpZnSk2fsE3zmDhVl3eM2MVE+pSQ4DsUR4d2MCO4CeZubWvZ KmPG9leCpW6D4AxiNGAY60tS9kFioUnjn6h12FQS3a8ImqS9bCGG9YQz+SKn0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617484814; a=rsa-sha256; cv=none; b=B2QdDkIRbG2R1C/3tcUCN0QHoVbBBQtzI1xK/Ye1ZPzDt3KBbemLdTcQYcnLlF9zzp57VA 5DqyQKrjIflHG2K/tmuPRdOhO6GTPmJFWJ3sF71HNFTmVm8ve9et1Hbuz17NN3hUTiM3w2 XOt/Cf+ByXJENXcVgJW6xfOrNr+qZEwufx/uxPkK8DnC3s7z29xgPIUNEjQEeuDLkI4l9c wNcMJ/czRT2zYrlr9fxEtZ2obj8hKG7Fn+n3xCQzmOTZt4lFl8kdVOaLW6dI2zGim7jftt Iq+R6nRdaZw2/30CIB45G0VY1s3mvEB/GEveQOsc/pHGoT5wRV8rQO+a9V1/RA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=dd8Ue0Tj; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=dd8Ue0Tj; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8E665836F X-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: xNw/C7IdCfKH * gnu/packages/node-xyz.scm (node-wrappy): New variable. --- gnu/packages/node-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 60cc005ea4..f401380310 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2021 Noisytoot ;;; ;;; This file is part of GNU Guix. ;;; @@ -272,3 +273,28 @@ function with browser support.") "@code{node-semver} is a JavaScript implementation of the @uref{https://semver.org/, SemVer.org} specification.") (license license:isc))) + +(define-public node-wrappy + (package + (name "node-wrappy") + (version "1.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/npm/wrappy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ymlc61cja6v5438vwb04gq8wg2b784lj39zf0g4i36fvgcw9783")))) + (build-system node-build-system) + (arguments + '(#:tests? #f ; FIXME: Tests depend on node-tap + #:phases + (modify-phases %standard-phases + ;; The only dependency to check for is tap, which we don't have. + (delete 'configure)))) + (home-page "https://github.com/npm/wrappy") + (synopsis "Callback wrapping utility") + (description "@code{wrappy} is a utility for Node.js to wrap callbacks.") + (license license:isc))) -- 2.30.2