From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +NzyLcK0fWTaDQAASxT56A (envelope-from ) for ; Mon, 05 Jun 2023 12:11:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SOPZLMK0fWS7SwAAG6o9tA (envelope-from ) for ; Mon, 05 Jun 2023 12:11:14 +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 6EA2425EDD for ; Mon, 5 Jun 2023 12:11:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q67AD-0008Fw-GZ; Mon, 05 Jun 2023 06:10:13 -0400 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 1q67AA-0008Dq-NZ for guix-patches@gnu.org; Mon, 05 Jun 2023 06:10:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q67A6-0001V2-5a for guix-patches@gnu.org; Mon, 05 Jun 2023 06:10:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q67A6-0005Xw-16 for guix-patches@gnu.org; Mon, 05 Jun 2023 06:10:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63903] [PATCH 11/11] gnu: Add miniflux. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Jun 2023 10:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63903 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63903@debbugs.gnu.org Cc: Hilton Chain Received: via spool by 63903-submit@debbugs.gnu.org id=B63903.168595979321222 (code B ref 63903); Mon, 05 Jun 2023 10:10:05 +0000 Received: (at 63903) by debbugs.gnu.org; 5 Jun 2023 10:09:53 +0000 Received: from localhost ([127.0.0.1]:48210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q679s-0005WE-PC for submit@debbugs.gnu.org; Mon, 05 Jun 2023 06:09:53 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:45314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q679q-0005W6-SR for 63903@debbugs.gnu.org; Mon, 05 Jun 2023 06:09:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1685959639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kUS74POoweinpAl782sRG4y+Fqbr4sIXax6puRM1Lp4=; b=tzOyD5/2VSx2M/PQ5TTAealnV1qAyQi2kkjqZnyEwBEtv3U+jO8Xe7KdhaXKsiK8lPiTHZ T+FRuadFNHvCnYosyXH+M3xymM5BxIM+ogGfNBOufiGZ23foDsBXOGoW9kV++ZxxGUdYHw R6cCceyyCx/Ffs5pmyqjYtkAXqL3AVkwka4xCPR87dTcLVvNZwhkSifT7MflXNx/gVayxY xS0jCZJHw/tToCXugmtJREvyccCn45wqKe/rBm4QMiCp+X4XJwE07WNC1rRbKYvzUD2eZm nuwFKVR0KRQJ6GzgRyG37dyQ6PONBA6yySZ/2a2wjtEyiKJ9N01rx1cKebPn0g== Date: Mon, 5 Jun 2023 18:09:25 +0800 Message-Id: <47ff201ef89246ac17f4ebc32bb88075514739ed.1685958854.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685959874; a=rsa-sha256; cv=none; b=cbXn9dV6cJoFWMh2YO/N5QboSr8+PlN9YgrlQ2LbKvA38TiNZUUQy/bO4g/QVsHgXyUITk +FzxVavZk6bfQY8JLOXFbIsY7xoRIhCT49DOlJa24HuJ5CP3JyG5K3CgZJ7xLoHVSp1lh1 Mv8a5Iy0cfZpT2pyQX86BZBHjkSiHK13omKTy9/PRWkfXgL9Bsh4AONgIJBwcbx2/k8Z6r 1GvAA1Vwb/vJyfVw0ucrmZvOgrlddYT0bwA49Br6XMP1WnWMTGlmv75GfHnSgPkin7OTdK xaehEpMsgc24eKwYicZaVsqoazU+lK1KNUh8XlFJx6GKM6y+B78hZREo265xfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="tzOyD5/2"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685959874; 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-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=kUS74POoweinpAl782sRG4y+Fqbr4sIXax6puRM1Lp4=; b=E3UcdI0aB5QJ46R5S6pNAoSdJTPBba68/jkMqfvY2fDbETdsGEzI4PIk3CplDD1Q0Yl/AJ bhQMjV/+5TNxv22c3bjrlW84qA1tpZEyld/XneaqmuTge8fI6jUmY5ZNSrR88meT/x+1zk RGe+VJJGYJelO1SBoz3JG2HMX5xWABBEMDhgulh2De99bOVKkWBcNY+SET6251dyGjR+rm im/aKba9YSSGbcviUvG/jxoBP4fiRPcf06K72dRsLIfhT0/zfz9RCvFZu4H/CFQMZiafZd MKJnO6sHDhxm1y5k9W30eqDmgtb9bxvv4VpY7Z1GWMuzz3PCy/jJlfgg/kjCVQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="tzOyD5/2"; dmarc=pass (policy=none) header.from=gnu.org; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.49 X-Spam-Score: -3.49 X-Migadu-Queue-Id: 6EA2425EDD X-TUID: Tr82xFSs34zG * gnu/packages/web.scm (miniflux): New variable. --- gnu/packages/web.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 3af4aa0b8d..ae7bfcfc27 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -186,6 +186,7 @@ (define-module (gnu packages web) #:use-module (gnu packages serialization) #:use-module (gnu packages skribilo) #:use-module (gnu packages sphinx) + #:use-module (gnu packages syncthing) #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) @@ -320,6 +321,60 @@ (define-public httpd/pinned (base32 "1jgmfbazc2n9dnl7axhahwppyq25bvbvwx0lqplq76by97fgf9q1"))))))) +(define-public miniflux + (package + (name "miniflux") + (version "2.0.44") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/miniflux/v2") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18ggk71nk3zylgkwq32glggdcapgsj772qn2y4i9hbk374l6h61w")))) + (build-system go-build-system) + (arguments + (list #:go go-1.19 + #:install-source? #f + #:import-path "miniflux.app" + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'rename-binary + (lambda _ + (let ((bindir (string-append #$output "/bin/"))) + (rename-file (string-append bindir "miniflux.app") + (string-append bindir "miniflux")))))))) + (propagated-inputs + (list go-github-com-coreos-go-oidc + go-github-com-go-telegram-bot-api-telegram-bot-api + go-github-com-gorilla-mux + go-github-com-lib-pq + go-github-com-matrix-org-gomatrix + go-github-com-prometheus-client-golang + go-github-com-puerkitobio-goquery + go-github-com-rylans-getlang + go-github-com-tdewolff-minify-v2 + go-github-com-yuin-goldmark + go-golang-org-x-term + go-mvdan-cc-xurls)) + (home-page "https://miniflux.app/") + (synopsis "Minimalist and opinionated feed reader") + (description + "Miniflux is a minimalist and opinionated feed reader: + +@itemize +@item Written in Go (Golang) +@item Works only with Postgresql +@item Doesn't use any ORM +@item Doesn't use any complicated framework +@item Use only modern vanilla Javascript (ES6 and Fetch API) +@item Single binary compiled statically without dependency +@item The number of features is voluntarily limited +@end itemize\n") + (license license:asl2.0))) + (define-public mod-wsgi (package (name "mod-wsgi") -- 2.40.1