From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oDkPJunofWSXLQEASxT56A (envelope-from ) for ; Mon, 05 Jun 2023 15:53:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OGXZJOnofWQDTgEAG6o9tA (envelope-from ) for ; Mon, 05 Jun 2023 15:53:45 +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 611C313252 for ; Mon, 5 Jun 2023 15:53:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6Ae1-0006Hb-Ri; Mon, 05 Jun 2023 09:53: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 1q6Adv-0006Es-6B for guix-patches@gnu.org; Mon, 05 Jun 2023 09:53:07 -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 1q6Adu-0003r2-UI for guix-patches@gnu.org; Mon, 05 Jun 2023 09:53:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6Adu-00005y-Q5 for guix-patches@gnu.org; Mon, 05 Jun 2023 09:53:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63903] [PATCH v2 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 13:53:06 +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.168597317632732 (code B ref 63903); Mon, 05 Jun 2023 13:53:06 +0000 Received: (at 63903) by debbugs.gnu.org; 5 Jun 2023 13:52:56 +0000 Received: from localhost ([127.0.0.1]:48585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Adj-0008Vs-HJ for submit@debbugs.gnu.org; Mon, 05 Jun 2023 09:52:55 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:43244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Adh-0008Vk-Nj for 63903@debbugs.gnu.org; Mon, 05 Jun 2023 09:52:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1685973021; 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=Xxi92FIWvIlNX+agoX0Ikor8J4JQEjdnEWoN20NWf/A=; b=OCJT78tCpq/z0+hvbLtnnZnAAX47QCPZKA6lT9o4pHoLVkXQbEIzty/gSlb/JklygK8LuX 2WAWsJ7zAaY1Rr9LTxVPdbP1LZf4Bp1sNgSl+c2QT5J7E3CXkkqvy0ajkFVk9hm60cXrr+ BpbxuolODmMiL+SORIWGDXN3rDDDKBJ/xvJFT16fo0kLrx7Yen+a/Euca5SifnWXnFuW0Y mSjDp+24C1cJ+r5BfSF/hgXAMJrhfSnjXMImuMxBqpRlZNtb/mU93NbnMV26urtyuFgmOd qnKv4X5cQgLNwwnMSABnaQYKZtvUNBhVGu5aV6OjSlTpvc2yJb/11qDHHoP4nw== Date: Mon, 5 Jun 2023 21:52:23 +0800 Message-Id: <913305419326626eb1ae0495095f110e1211b7ca.1685973062.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=1685973225; a=rsa-sha256; cv=none; b=pKdN8+lPpGBwF9cbilPxKTpLzVbedgiD9JVEJWvNdDkmUlnA8RoLMKVnl8fOiOyv6oJrgP pK/VR9arim3gTla9nj5caqYUvc1/iVOU57GxrpAKiaG0Yw1CT+n7atD9DX+ilaI7fHmiF9 Coxp/ZWYg5n+wFfzG1oAC/9+Rl/zipbBOPD5tTVyJM+TQdczFunQRvY0IjPIwJbAdtGHq9 VVpQkaQfiJFnkzfz2Xh+fUvdyswlpIKz3hnyqjR7hLKjsQ8QiUpbzUJzViCETOGObFk+fw peodcXbcqggbK9KBRhcSl3sNbszt8H3Ygk4oXV9k7xnNO/D0JL1btOQb1JcKTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=OCJT78tC; 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=1685973225; 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=Xxi92FIWvIlNX+agoX0Ikor8J4JQEjdnEWoN20NWf/A=; b=lX2KP5KpJgTjtPOmB90jlnkzxEAzH77cxW2FAbcMD0E+yT5lXFrH8KBLYFaJbhIErtVvLZ tVuAhDiQKWW2RCUnUrucuNiqr5NTPxmIg+keo8dOhcsec1GSlaoNAU7Crq3BdoRNrCxpYo PzrfgFOyGU4gXRGTQ7BGVH2oUdCs2+lY6jJXuEihvrTFROH26SJ2G+6Fjjh7nE95aBmmzO F53FRZunjr8EI+J2VngibBC5cXj1YArKk7YP/0z1qoB9Dq0+RbNVdtnkk6hdOZAm2XQLqy LYtbwctoTMRwPkPNUfGJWLet/endiPRR8F5kLbmX9vYN8noL2D677f4gQFMZ0A== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=OCJT78tC; 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.99 X-Spam-Score: -3.99 X-Migadu-Queue-Id: 611C313252 X-TUID: zD1F4scNIJjc * 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..bd7f0b3f5e 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")))))))) + (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