File gnu/packages/web.scm changed (mode: 100644) (index 1699c92366..0c17f27b06) |
45 |
45 |
;;; Copyright © 2018, 2019, 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> |
;;; Copyright © 2018, 2019, 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> |
46 |
46 |
;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com> |
;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com> |
47 |
47 |
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> |
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> |
|
48 |
|
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com> |
48 |
49 |
;;; |
;;; |
49 |
50 |
;;; This file is part of GNU Guix. |
;;; This file is part of GNU Guix. |
50 |
51 |
;;; |
;;; |
|
... |
... |
used to validate and fix HTML data.") |
1346 |
1347 |
(home-page "http://tidy.sourceforge.net/") |
(home-page "http://tidy.sourceforge.net/") |
1347 |
1348 |
(license (license:x11-style "file:///include/tidy.h")))) |
(license (license:x11-style "file:///include/tidy.h")))) |
1348 |
1349 |
|
|
|
1350 |
|
(define-public esbuild |
|
1351 |
|
(package |
|
1352 |
|
(name "esbuild") |
|
1353 |
|
(version "0.7.14") |
|
1354 |
|
(source |
|
1355 |
|
(origin |
|
1356 |
|
(method git-fetch) |
|
1357 |
|
(uri (git-reference |
|
1358 |
|
(url "https://github.com/evanw/esbuild") |
|
1359 |
|
(commit (string-append "v" version)))) |
|
1360 |
|
(file-name (git-file-name name version)) |
|
1361 |
|
(sha256 |
|
1362 |
|
(base32 |
|
1363 |
|
"1y5hqymv2r8r29f8vh8kgncj3wlkg4fzi0zlc7mgyss872ajkc7i")) |
|
1364 |
|
(modules '((guix build utils))) |
|
1365 |
|
(snippet |
|
1366 |
|
'(begin |
|
1367 |
|
;; Remove prebuilt binaries |
|
1368 |
|
(delete-file-recursively "npm") |
|
1369 |
|
#t)))) |
|
1370 |
|
(build-system go-build-system) |
|
1371 |
|
(arguments |
|
1372 |
|
'(#:import-path "github.com/evanw/esbuild/cmd/esbuild" |
|
1373 |
|
#:unpack-path "github.com/evanw/esbuild" |
|
1374 |
|
#:phases |
|
1375 |
|
(modify-phases %standard-phases |
|
1376 |
|
(replace 'check |
|
1377 |
|
(lambda* (#:key tests? unpack-path #:allow-other-keys) |
|
1378 |
|
(if tests? |
|
1379 |
|
(with-directory-excursion (string-append "src/" unpack-path) |
|
1380 |
|
(invoke "make" "test-go"))) |
|
1381 |
|
#t))))) |
|
1382 |
|
(inputs |
|
1383 |
|
`(("go-golang-org-x-sys" ,go-golang-org-x-sys))) |
|
1384 |
|
(native-inputs |
|
1385 |
|
`(("go-github-com-kylelemons-godebug" ,go-github-com-kylelemons-godebug))) |
|
1386 |
|
(home-page "https://github.com/evanw/esbuild") |
|
1387 |
|
(synopsis "Bundler and minifier tool for JavaScript and TypeScript") |
|
1388 |
|
(description |
|
1389 |
|
"The esbuild tool provides a unified bundler, transpiler and |
|
1390 |
|
minifier. It packages up JavaScript and TypeScript code, along with JSON |
|
1391 |
|
and other data, for distribution on the web.") |
|
1392 |
|
(license license:expat))) |
|
1393 |
|
|
1349 |
1394 |
(define-public tinyproxy |
(define-public tinyproxy |
1350 |
1395 |
(package |
(package |
1351 |
1396 |
(name "tinyproxy") |
(name "tinyproxy") |