Add python-zipp-3

Evgeny PisemskySat Feb 01 21:00:51+0300 2025

98ae3ed

Add python-zipp-3

README

11
# SPDX-FileCopyrightText: 2025 Evgeny Pisemsky <mail@pisemsky.site>
2-
#
32
# SPDX-License-Identifier: GPL-3.0-or-later
43
54
#+title: cogd

modules/cogd/packages/figlet.scm

44
55
(define-module (cogd packages figlet))
66
7-
(use-modules (guix packages)
8-
             (guix download)
9-
             (guix build-system gnu)
10-
             ((guix licenses) #:prefix license:)
11-
             (gnu packages pkg-config)
12-
             (gnu packages video))
7+
(use-modules (gnu packages figlet))
138
14-
(define-public toilet
15-
  (package
16-
    (name "toilet")
17-
    (version "0.3")
18-
    (source
19-
     (origin
20-
       (method url-fetch)
21-
       (uri (string-append
22-
             "http://caca.zoy.org/raw-attachment/wiki/toilet/toilet-" version
23-
             ".tar.gz"))
24-
       (sha256
25-
        (base32 "1pl118qb7g0frpgl9ps43w4sd0psjirpmq54yg1kqcclqcqbbm49"))))
26-
    (build-system gnu-build-system)
27-
    (native-inputs (list pkg-config))
28-
    (inputs (list libcaca))
29-
    (home-page "http://caca.zoy.org/wiki/toilet")
30-
    (synopsis "Display large colourful characters")
31-
    (description
32-
     "The TOIlet project attempts to create a free replacement for the
33-
FIGlet utility.  It uses the powerful libcaca library to achieve
34-
various text-based effects.")
35-
    (license license:wtfpl2)))
9+
(re-export toilet)

modules/cogd/packages/python-xyz.scm

1313
             ((guix licenses) #:prefix license:)
1414
             (gnu packages check)
1515
             (gnu packages python-build)
16+
             (gnu packages python-compression)
1617
             (gnu packages python-xyz)
1718
             (gnu packages xdisorg)
1819
             (gnu packages xorg))
1920
20-
(define-public python-bresenham
21-
  (package
22-
    (name "python-bresenham")
23-
    (version "0.2.1")
24-
    (source
25-
     (origin
26-
       (method git-fetch)
27-
       (uri (git-reference
28-
             (url "https://github.com/encukou/bresenham")
29-
             (commit (string-append "v" version))))
30-
       (file-name (git-file-name name version))
31-
       (sha256
32-
        (base32 "07h04l50y35rhp13mqis61d1dkd7426q1gdfy5hd6rcgcfv15kxd"))))
33-
    (build-system python-build-system)
34-
    (native-inputs (list python-pytest python-pytest-runner))
35-
    (home-page "https://github.com/encukou/bresenham")
36-
    (synopsis "Implementation of Bresenham's line drawing algorithm")
37-
    (description
38-
     "This is a simple implementation of Bresenham's line drawing algorithm.
39-
It is written in pure python, so it is relatively slow.")
40-
    (license license:expat)))
21+
(re-export python-bresenham)
4122
4223
(define-public python-pypubsub
4324
  (package

123104
     "This library implements cross-platform clipboard utilities supporting
124105
both binary and text data.")
125106
    (license license:asl2.0)))
107+
108+
(define-public python-zipp-3
109+
  (package
110+
    (inherit python-zipp)
111+
    (version "3.21.0")
112+
    (source
113+
     (origin
114+
       (method url-fetch)
115+
       (uri (pypi-uri "zipp" version))
116+
       (sha256
117+
        (base32 "1x6ibn5v5h8pjhhzwbz0j91yz4yxss761ssj38s4080a8gv5i69c"))))
118+
    (build-system pyproject-build-system)
119+
    (arguments
120+
     (list
121+
      #:tests? #f))
122+
    (native-inputs (list python-setuptools python-setuptools-scm python-wheel))
123+
    (propagated-inputs (list))))