unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71615] [PATCH] Split out picocss from Mumi.
@ 2024-06-17 17:09 Felix Lechner via Guix-patches via
  2024-06-17 21:29 ` Arun Isaac
  2024-06-17 21:30 ` [bug#71615] [PATCH v2 1/2] gnu: Add picocss Arun Isaac
  0 siblings, 2 replies; 5+ messages in thread
From: Felix Lechner via Guix-patches via @ 2024-06-17 17:09 UTC (permalink / raw)
  To: 71615; +Cc: Arun Isaac, Luis Felipe, Felix Lechner

The inclusion of Picocss an inline function in Mumi may not meet project
standards.  For example, Picocss is probably not captured as a prerequisite of
software we use; its license is not tracked; and its sources are not backed up
by the Software Heritage archive.

Change-Id: I447aa8d0c34376f5a55dce596f19d956622a5ecf
---
 gnu/packages/mail.scm | 15 +++++----------
 gnu/packages/web.scm  | 22 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index d853fab4d3..5c4f688f3b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4226,16 +4226,11 @@ (define-public mumi
            mailutils
            xdg-utils))
     (native-inputs
-     (list autoconf automake pkg-config sassc
-           (origin
-             (method git-fetch)
-             (uri (git-reference
-                   (url "https://github.com/picocss/pico.git")
-                   (commit "3052db4bd3439e236479dc0f98069f7d3b559486")))
-             (file-name (git-file-name "pico" "1.5.6"))
-             (sha256
-              (base32
-               "1gs1li48hqizx7lc4n2fdxn9i2v4vafkqpza7svvfpcamfz29jpi")))))
+     (list autoconf
+           automake
+           pkg-config
+           picocss
+           sassc))
     (home-page "https://git.savannah.gnu.org/cgit/guix/mumi.git/")
     (synopsis "Debbugs web interface")
     (description "Mumi is a Debbugs web interface.")
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b9991bb9c1..bf688b2f6f 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5064,6 +5064,28 @@ (define-public perl-www-robotrules
 their web site.")
     (home-page "https://metacpan.org/release/WWW-RobotRules")))
 
+(define-public picocss
+  (package
+    (name "picocss")
+    (version "1.5.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/picocss/pico.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1gs1li48hqizx7lc4n2fdxn9i2v4vafkqpza7svvfpcamfz29jpi"))))
+    (build-system copy-build-system)
+    (home-page "https://picocss.com/")
+    (synopsis "Minimal CSS Framework for Semantic HTML")
+    (description "A minimalist and lightweight starter kit that prioritizes
+semantic syntax, making every HTML element responsive and elegant by default.
+Pico CSS can be used without custom CSS but it was designed as a CSS starting
+point.")
+    (license license:expat)))
+
 (define-public python-lambda-4dn
   (package
     (name "python-lambda-4dn")

base-commit: 71c678a16aae416298a0e3fa322b425315bb7b00
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-21  4:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 17:09 [bug#71615] [PATCH] Split out picocss from Mumi Felix Lechner via Guix-patches via
2024-06-17 21:29 ` Arun Isaac
2024-06-17 21:30 ` [bug#71615] [PATCH v2 1/2] gnu: Add picocss Arun Isaac
2024-06-17 21:30   ` [bug#71615] [PATCH v2 2/2] gnu: mumi: Use picocss package Arun Isaac
2024-06-21  4:21   ` [bug#71615] [PATCH v2 1/2] gnu: Add picocss Liliana Marie Prikler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).