Subject: Re: [PATCH v2 1/2] gnu: Add picocss.

From: Liliana Marie Prikler <[email-masked]>
Date: Fri, 21 Jun 2024 06:21:33 +0200

Am Montag, dem 17.06.2024 um 22:30 +0100 schrieb Arun Isaac:
> From: Felix Lechner <[email-masked]>
> 
> * gnu/packages/web.scm (picocss): New variable.
> 
> Change-Id: Ia6fd846f7da810df9675c964506cc59f5f9d3f7b
> Signed-off-by: Arun Isaac <[email-masked]>
> ---
>  gnu/packages/web.scm | 23 ++++++++++++++++++++++-
>  1 file changed, 22 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index b9991bb9c1..f645199774 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -63,7 +63,7 @@
>  ;;; Copyright © 2022 Bruno Victal <[email-masked]>
>  ;;; Copyright © 2023 David Thompson <[email-masked]>
>  ;;; Copyright © 2023 Christopher Howard
> <[email-masked]>
> -;;; Copyright © 2023 Felix Lechner <[email-masked]>
> +;;; Copyright © 2023, 2024 Felix Lechner
> <[email-masked]>
>  ;;; Copyright © 2023 Evgeny Pisemsky <[email-masked]>
>  ;;; Copyright © 2024 Tomas Volf <[email-masked]>
>  ;;;
> @@ -5064,6 +5064,27 @@ (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)
Note: the /css folder, which is probably what'll be interesting here,
contains generated sources.  We should try compiling them ourselves
with an SCSS processor. 
> +              (uri (git-reference
> +                    (url "https://github.com/picocss/pico")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +               
> "1gs1li48hqizx7lc4n2fdxn9i2v4vafkqpza7svvfpcamfz29jpi"))))
> +    (build-system copy-build-system)
Note: copy-build-system should be used together with an install plan. 
It appears you're missing one.
> +    (home-page "https://picocss.com/")
> +    (synopsis "Minimal CSS framework for semantic HTML")
> +    (description "Pico CSS is a minimalist and lightweight CSS
> framework that
> +prioritizes semantic syntax, making every HTML element responsive
> and elegant
> +by default.")
> +    (license license:expat)))
> +
>  (define-public python-lambda-4dn
>    (package
>      (name "python-lambda-4dn")
> 
Cheers