about summary refs log tree commit diff
path: root/gn/packages/python-xyz.scm
blob: b80e6a1d1dce3ede5128cf31a39c9516f953abf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
(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:)

  #:use-module (gnu packages check)
  #:use-module (gnu packages sphinx)
  #:use-module (gnu packages python-xyz)
  #:use-module (gnu packages python-check)
  #:use-module (gnu packages python-build))

(define-public python-mslex
  (package
    (name "python-mslex")
    (version "1.3.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/smoofra/mslex")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1k7p2yzsiga39kmcp440mgxlgsahg01il7jrbr8mc94k60wzmgdy"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-setuptools python-wheel))
    (inputs (list python-tox
                  python-trio
                  python-tqdm
                  python-twine
                  python-black
                  python-flake8
                  python-sphinx
                  python-pytest
                  python-watchdog
                  python-coverage
                  python-bump2version
                  python-types-setuptools))
    (home-page "https://github.com/smoofra/mslex")
    (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)))