summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-11 19:56:23 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-30 16:23:52 +0000
commitb6275931771fc90e29e59cac999e3de30951033c (patch)
treec4efdc8131de529eb47e77c92e3df01af7c0ea22 /gnu/packages/python-check.scm
parent4e4496ded139366e8aa92adc70d6ce3647a228f4 (diff)
gnu: Add python-empty-files.
* gnu/packages/python-check.scm (python-empty-files): New variable. Change-Id: I830ae4443466c82314ca4a74d68ae9cc3b0161f0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index b1bc149d17a..cf33c06952d 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -819,6 +819,31 @@ various well-defined points in the program. Contracts can be specified on
functions and on classes.")
(license license:lgpl3+)))
+(define-public python-empty-files
+ (package
+ (name "python-empty-files")
+ (version "0.0.9")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/approvals/EmptyFiles.Python")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0w3pkhymkh9wl4g8x5pssbsxr78bzb6qix95mxqqfwbx0g42iz1z"))))
+ (build-system pyproject-build-system)
+ ;; XXX: Circular dependency on python-approvaltests for tests.
+ (arguments (list #:tests? #f))
+ (propagated-inputs (list python-requests))
+ (native-inputs (list python-setuptools))
+ (home-page "https://github.com/approvals/EmptyFiles.Python")
+ (synopsis "Serve empty files of many types")
+ (description "This project will create an empty file of a type
+requested. If possible, that file will be the smallest valid file for that
+type. For example, an empty jpg will be a 1x1 pixel jpg.")
+ (license license:asl2.0)))
+
(define-public python-eradicate
(package
(name "python-eradicate")