summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-05-14 09:54:37 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-24 10:19:40 +0100
commit104073d831a3c4a26f651f8d31f07e5dc97c68ec (patch)
tree061bc87f1990f42ef77288e324343c179b424ea5 /gnu/packages/python-web.scm
parent0a57bdecf1cc1bcf3d75b511d0c9e031f64d6702 (diff)
gnu: Add python-dukpy.
* gnu/packages/python-web.scm (python-dukpy): New variable. Change-Id: Ieb8ba9de5753321edda6bf73b0f032ec5f872d1b
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm50
1 files changed, 50 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4b44d549bf1..3e15ce524c5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1068,6 +1068,56 @@ Async mode for @url{https://domainconnect.org/, Domain Connect protocol}.")
1068Dropbox API v2.") 1068Dropbox API v2.")
1069 (license license:expat))) 1069 (license license:expat)))
1070 1070
1071(define-public python-dukpy
1072 (package
1073 (name "python-dukpy")
1074 (version "0.5.1")
1075 (source
1076 (origin
1077 (method git-fetch)
1078 (uri (git-reference
1079 (url "https://github.com/amol-/dukpy")
1080 (commit version)))
1081 (file-name (git-file-name name version))
1082 (sha256
1083 (base32 "1qsqfgy12frrdikjf353bsvhln11jixc3qs9rc1zra55k0569036"))))
1084 (build-system pyproject-build-system)
1085 (arguments
1086 (list
1087 #:test-flags
1088 #~(list #$@(map (lambda (test)
1089 (string-append "--deselect=tests/test_installer.py"
1090 "::TestPackageInstaller::"
1091 test))
1092 ;; Network access is required.
1093 (list "test_install_command"
1094 "test_install_command_latest_ver"
1095 "test_install_command_substrate_error"
1096 "test_install_command_without_dest"
1097 "test_install_react"
1098 "test_install_scoped_package"
1099 "test_install_unexisting_package"
1100 "test_install_unexisting_version")))))
1101 (native-inputs
1102 (list python-mock
1103 python-pytest
1104 python-setuptools
1105 python-webassets))
1106 (home-page "https://github.com/amol-/dukpy")
1107 (synopsis "Simple JavaScript interpreter for Python")
1108 (description
1109 "DukPy is a simple JavaScript interpreter for Python built on top of
1110duktape engine without any external dependency. It comes with a bunch of
1111common transpilers built-in for convenience:
1112@itemize
1113@item CoffeeScript
1114@item BabelJS
1115@item TypeScript
1116@item JSX
1117@item LESS
1118@end itemize")
1119 (license license:expat)))
1120
1071(define-public python-essentials-openapi 1121(define-public python-essentials-openapi
1072 (package 1122 (package
1073 (name "python-essentials-openapi") 1123 (name "python-essentials-openapi")