From 1bc5e65aadb9677313a9b30b0bb67208694710c7 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 29 Nov 2023 22:34:43 +0000 Subject: gnu: go-github-com-andybalholm-cascadia: Move to (gnu packages golang-web). * gnu/packages/golang.scm (go-github-com-andybalholm-cascadia): Move from here... * gnu/packages/golang-web.scm: ...to here. Change-Id: I185cb923d21685eb5a3952b9990833d3a0709312 --- gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++ gnu/packages/golang.scm | 24 ------------------------ 2 files changed, 25 insertions(+), 24 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 39a83990ce..3c1abfff2c 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2020 Martin Becze ;;; Copyright © 2020 Oleg Pykhalov +;;; Copyright © 2022 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,6 +36,30 @@ (define-module (gnu packages golang-web) ;;; ;;; Code: +(define-public go-github-com-andybalholm-cascadia + (package + (name "go-github-com-andybalholm-cascadia") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/andybalholm/cascadia") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zgc9fjkn7d66cnmgnmalr9lrq4ii1spap95pf2x1hln4pflib5s")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/andybalholm/cascadia")) + (native-inputs + (list go-golang-org-x-net)) + (home-page "https://github.com/andybalholm/cascadia/") + (synopsis "CSS selectors for HTML") + (description "The Cascadia package implements CSS selectors for use with +the parse trees produced by the html package.") + (license license:bsd-2))) + (define-public go-github-com-aymerick-douceur (package (name "go-github-com-aymerick-douceur") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5c397ea81a..5b78ed8576 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9466,30 +9466,6 @@ (define-public go-github-com-alecthomas-chroma converts it into syntax highlighted HTML, ANSI-coloured text, etc.") (license license:expat))) -(define-public go-github-com-andybalholm-cascadia - (package - (name "go-github-com-andybalholm-cascadia") - (version "1.3.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/andybalholm/cascadia") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0zgc9fjkn7d66cnmgnmalr9lrq4ii1spap95pf2x1hln4pflib5s")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/andybalholm/cascadia")) - (native-inputs - (list go-golang-org-x-net)) - (home-page "https://github.com/andybalholm/cascadia/") - (synopsis "CSS selectors for HTML") - (description "The Cascadia package implements CSS selectors for use with -the parse trees produced by the html package.") - (license license:bsd-2))) - (define-public go-github-com-puerkitobio-goquery (package (name "go-github-com-puerkitobio-goquery") -- cgit v1.2.3