mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: folders: Switch to pyproject.
* gnu/packages/esolangs.scm (folders): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Set a custom 'check phase. [native-inputs]: Add python-setuptools. [description, properties]: Run guix style. Change-Id: Icb1ab9f7ea246747e08da7bbec5a9339aaf5431b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
8f68657316
commit
8adc040827
1 changed files with 28 additions and 11 deletions
|
@ -4,6 +4,7 @@
|
||||||
;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
|
;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com>
|
||||||
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
|
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
|
||||||
;;; Copyright © 2022 jgart <jgart@dismail.de>
|
;;; Copyright © 2022 jgart <jgart@dismail.de>
|
||||||
|
;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -26,12 +27,14 @@
|
||||||
#:use-module (gnu packages flex)
|
#:use-module (gnu packages flex)
|
||||||
#:use-module (gnu packages ncurses)
|
#:use-module (gnu packages ncurses)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
|
#:use-module (gnu packages python-build)
|
||||||
#:use-module (gnu packages readline)
|
#:use-module (gnu packages readline)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix build-system copy)
|
#:use-module (guix build-system copy)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system pyproject)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix packages))
|
#:use-module (guix packages))
|
||||||
|
@ -106,18 +109,32 @@ whenever possible to the extent that the above points are not compromised.
|
||||||
(name "folders")
|
(name "folders")
|
||||||
(version "0.0.8")
|
(version "0.0.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "Folders" version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/SinaKhalili/Folders.py")
|
||||||
(base32 "0qh80qx7sjx0zii1hf8fm853d9rcg4rginm6v4gpp0hgn2a4q4gh"))))
|
(commit (string-append "v" version))))
|
||||||
(build-system python-build-system)
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "14fs8c7ilvsw6xbskr688s1dp3nd8vnwv7bg23ab1l6vj6fpzwmw"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(if tests?
|
||||||
|
(invoke "Folders" "sample_programs/HelloWorld")
|
||||||
|
(format #t "test suite not run~%")))))))
|
||||||
|
(native-inputs (list python-setuptools))
|
||||||
(home-page "https://github.com/SinaKhalili/Folders.py")
|
(home-page "https://github.com/SinaKhalili/Folders.py")
|
||||||
(synopsis "Structural programming language")
|
(synopsis "Structural programming language")
|
||||||
(description "Folders is a programming language, in which programs
|
(description
|
||||||
are encoded as (nested) directories. Note that the switches you pass to
|
"Folders is a programming language, in which programs are encoded as
|
||||||
@command{du} may affect your score when code golfing.")
|
(nested) directories. Note that the switches you pass to @command{du} may
|
||||||
(properties `((lint-hidden-cpe-vendors . ("premio" "jenkins"))))
|
affect your score when code golfing.")
|
||||||
|
(properties `((lint-hidden-cpe-vendors "premio" "jenkins")))
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public shakespeare-spl
|
(define-public shakespeare-spl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue