about summary refs log tree commit diff
path: root/gn/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/python-xyz.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gn/packages/python-xyz.scm b/gn/packages/python-xyz.scm
index dfd0ef5..b80e6a1 100644
--- a/gn/packages/python-xyz.scm
+++ b/gn/packages/python-xyz.scm
@@ -1,6 +1,8 @@
 (define-module (gn packages python-xyz)
   #:use-module (guix packages)
+  #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system python)
   #:use-module (guix build-system pyproject)
   #:use-module ((guix licenses) #:prefix license:)
 
@@ -41,3 +43,22 @@
     (synopsis "shlex for windows")
     (description "shlex for windows.")
     (license license:asl2.0)))
+
+
+(define-public python-oslex
+  (package
+    (name "python-oslex")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "oslex" version))
+       (sha256
+        (base32 "0bazd0vk2lzsk7cwgl2m669m6dqqhh4l0d6sn2yaiwjxqy1cvm0y"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-mslex))
+    (native-inputs (list python-hatchling))
+    (home-page "https://github.com/petamas/oslex")
+    (synopsis "OS-independent wrapper for shlex and mslex")
+    (description "OS-independent wrapper for shlex and mslex.")
+    (license license:expat)))