Message ID | 3100b076edc32dc8cf57df9e42f926df368417c9.1718659740.git.arunisaac@systemreboot.net |
---|---|
State | New |
Headers | show |
Series | [bug#71615,v2,1/2] gnu: Add picocss. | expand |
Am Montag, dem 17.06.2024 um 22:30 +0100 schrieb Arun Isaac: > From: Felix Lechner <felix.lechner@lease-up.com> > > * gnu/packages/web.scm (picocss): New variable. > > Change-Id: Ia6fd846f7da810df9675c964506cc59f5f9d3f7b > Signed-off-by: Arun Isaac <arunisaac@systemreboot.net> > --- > 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 <mirai@makinata.eu> > ;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu> > ;;; Copyright © 2023 Christopher Howard > <christopher@librehacker.com> > -;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com> > +;;; Copyright © 2023, 2024 Felix Lechner > <felix.lechner@lease-up.com> > ;;; Copyright © 2023 Evgeny Pisemsky <evgeny@pisemsky.com> > ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> > ;;; > @@ -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
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 <mirai@makinata.eu> ;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu> ;;; Copyright © 2023 Christopher Howard <christopher@librehacker.com> -;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com> +;;; Copyright © 2023, 2024 Felix Lechner <felix.lechner@lease-up.com> ;;; Copyright © 2023 Evgeny Pisemsky <evgeny@pisemsky.com> ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; @@ -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) + (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) + (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")