From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sM24Lcy3dWX4GgAA9RJhRA:P1 (envelope-from ) for ; Sun, 10 Dec 2023 14:06:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sM24Lcy3dWX4GgAA9RJhRA (envelope-from ) for ; Sun, 10 Dec 2023 14:06:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=phfrohring.com header.s=gm1 header.b=aXU1UdzJ; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702213580; h=from:from:sender:sender: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=JJzE+L1BHfUuYqHiljbDpYHxWMEMwXrexKwheDTS/B8=; b=UoC9nvXZnrnLoCk8Z8nMWfnf6puH7G5+Vc4aJJnagAptvcZsbeqBu4dsczBxPx1JCzabZ2 pRjxK77ZTA4pm7JbMbQSNx794cRo+jbetROm1NRnPOK7/C+zbQUrCZfsIc2h39ysSzE4xu HQfqEVDIvyJscVaA0rM5dD26oEo+6RYea2w24gr164H/br4LlfzaGCAPYnXTZbgC/sLXRf oaSwKPKdjEKqDsOHtu2Vp04BPERQ5rutytLQyGnTb66E39uaccT/PKpWsPhveqtz9p18Nu u5Xb2tKSxO5qqUzzE3fDSUXTjfXbR6Mnau6gdjPs9psAsXGuc27DY9cBxzgliA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=phfrohring.com header.s=gm1 header.b=aXU1UdzJ; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702213580; a=rsa-sha256; cv=none; b=E5GDzOre7vrD23DkjDZtENrgdmScrvIKXhVQZAorj6p9/WFRl5rlPIuGsPZ111PajKmrXV evCnX3uhRwPnJaJ4Ko7yr0xvFl+4mjZgzRUjOiFDVf0c2hc4oL5KK6Dpg26LtEEUoH64Q+ D9PEsStmkEzYTthnxu3nEBuLrSQPfVzvOHg8Z5lVdTRYYbbNV6776/lRqF173UzYZWd/qh 0i+r70hzGDWDCZ+I6Wp+fkFPdg+BgG3nBh3QdR5RgH8WxDeal9exKHa+P6pNebz1uOOJgs xBNUtKF6QrMDhE1Le+mhxz1IrHszTFV6Gc1d3C+cWjB2BuOCaKmoWBs+9LOZ8g== 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 3361D25370 for ; Sun, 10 Dec 2023 14:06:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVP-0001zb-AG; Sun, 10 Dec 2023 08:05:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001uT-Pq for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVG-0005T1-NU for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVU-0005Xz-Rm for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 07/15] gnu: Add elixir-file-system. Resent-From: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353521179 (code B ref 66801); Sun, 10 Dec 2023 13:06:04 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:35 +0000 Received: from localhost ([127.0.0.1]:49721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV0-0005VP-EH for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:35 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:48565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUc-0005Sb-2c for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:11 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 23A0760008; Sun, 10 Dec 2023 13:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213490; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=JJzE+L1BHfUuYqHiljbDpYHxWMEMwXrexKwheDTS/B8=; b=aXU1UdzJC3RX81142lhN7GHlCP/9wJ7dZMp4gXt2+bXpXNpM4l0c61nNBjb43bMerDZxMO yGIh/FUZcaCnu+MXDkZCZoCDn6coWsU1b/jqC0kN7ROr7giW1QrXKW32kAoYwmsp9mzWzJ ywU8+BEyuJQN2Zab9rKXGJG2F2PXLcAF2770IqQJdIW3EbJTP+aNYhRPJkBGzzxvvoj+b5 N6ojYO5qEHTV3XQ+MsWAJ5Xh37hGpphSGmlRDm7dywu8hO+YLYcU9GVTZ7KFENs5pygdgM TItpm0SyI89RUr80f9n1nfr/DaUg/iJ/zH+F0PxBKuu+78qlXTiqFN9cH4oh8w== From: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Date: Sun, 10 Dec 2023 14:04:00 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: contact@phfrohring.com 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.27 X-Spam-Score: -4.27 X-Migadu-Queue-Id: 3361D25370 X-Migadu-Scanner: mx10.migadu.com X-TUID: 4a93ufW258sj From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-file-system): New variable. Change-Id: I54e9c9069ddf150bb0c882775b0b2c9d5e59abd6 --- gnu/packages/elixir-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 66c364fb3..948d8aecc 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -20,6 +20,8 @@ (define-module (gnu packages elixir-xyz) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages elixir) #:use-module (gnu packages linux) + #:use-module (gnu packages compression) + #:use-module (gnu packages base) #:use-module (gnu packages) #:use-module (guix build-system gnu) #:use-module (guix build-system mix) @@ -91,6 +93,37 @@ (define-public elixir-jason (home-page "https://hexdocs.pm/jason/") (license license:asl2.0))) +(define-public elixir-file-system + (package + (name "elixir-file-system") + (version "0.2.10") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "1p0myxmnjjds8bbg69dd6fvhk8q3n7lb78zd4qvmjajnzgdmw6a1")) + (snippet #~(begin + (use-modules (guix build utils) (ice-9 ftw)) + (mkdir "source") + (for-each (lambda (file) + (when (not (member file '("." ".." "source"))) + (rename-file file (string-append "source/" file)))) + (scandir ".")) + (with-directory-excursion "source" + (invoke (string-append #+gzip "/bin/gunzip") "-v" "contents.tar.gz") + (invoke (string-append #+tar "/bin/tar") "-xvf" "contents.tar") + (delete-file "contents.tar") + (delete-file "priv/inotifywait.exe")))))) + (build-system mix-build-system) + (propagated-inputs (list inotify-tools)) + (arguments (list #:tests? #f)) ; no tests + (synopsis "File system change watcher") + (description "Provides a file system change watcher wrapper based on +https://github.com/synrc/fs.") + (home-page "https://hexdocs.pm/file_system/") + (license license:wtfpl2))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar -- 2.41.0