This commit is contained in:
Daniel Ziltener 2023-12-30 01:10:57 +01:00
parent 8b0b6de856
commit 890ec20be6
Signed by: zilti
GPG key ID: B38976E82C9DAE42
2 changed files with 15 additions and 5 deletions

View file

@ -7206,7 +7206,6 @@
(specifications->packages
(list "chicken-test"
"chicken-simple-sha1"
"chicken-srfi-4"
"chicken-srfi-13"
"chicken-srfi-69")))
(build-system chicken-build-system)

View file

@ -5,7 +5,8 @@
(chicken port)
(chicken pretty-print)
(chicken process)
(chicken string))
(chicken string)
(srfi 1))
(define licenses
'((AGPL . license:agpl3+)
@ -49,6 +50,13 @@
(alist-ref (egg-name eggrec) egg-blacklist
string=? #t))
(define dependency-blacklist
'(("srfi-4" . #f)))
(define (keep-dependency? str)
(alist-ref str dependency-blacklist
string=? #t))
(define (rss-feed-item->title+version+desc feed-item)
(let ((chunks (string-split (rss:item-title feed-item)))
(desc (rss:item-description feed-item)))
@ -115,11 +123,14 @@
,(egg-checksum eggrec)))))
(propagated-inputs
(specifications->packages
(list ,@(map prepend-chicken-to-dependency (egg-dependencies eggrec)))))
(list ,@(map prepend-chicken-to-dependency
(filter keep-dependency? (egg-dependencies eggrec))))))
(native-inputs
(specifications->packages
(list ,@(map prepend-chicken-to-dependency (egg-test-dependencies eggrec))
,@(map prepend-chicken-to-dependency (egg-build-dependencies eggrec)))))
(list ,@(map prepend-chicken-to-dependency
(filter keep-dependency? (egg-test-dependencies eggrec)))
,@(map prepend-chicken-to-dependency
(filter keep-dependency? (egg-build-dependencies eggrec))))))
(build-system chicken-build-system)
(arguments '(#:egg-name ,(egg-name eggrec)))
(synopsis ,(egg-description eggrec))