diff --git a/artoria/packages/php.scm b/artoria/packages/php.scm index 66fc33c..37421bb 100644 --- a/artoria/packages/php.scm +++ b/artoria/packages/php.scm @@ -5,27 +5,27 @@ #:use-module ((guix licenses) #:prefix license:)) (define-public php-composer-bin (package - (name "php-composer-bin") - (version "2.7.8") - (home-page "https://getcomposer.org/") - (source (origin - (method url-fetch) - (uri (string-append "https://getcomposer.org/download/" version "/composer.phar")) - (sha256 - (base32 - "1q66nb0h9jmvwwjs4x4rn9y9y61rdhbc7pmizprqx7drmg15v8rx")))) - (build-system copy-build-system) - (arguments - `(#:install-plan (list '("composer.phar" "bin/composer")) - #:phases - (modify-phases %standard-phases - (add-after 'copy 'make-executable - (lambda* (#:key outputs #:allow-other-keys) - (chmod - (string-append - (assoc-ref %outputs "out") "/bin/composer") #o555)))))) - (synopsis "Dependency Manager for PHP") - (description "Composer is a tool for dependency management in PHP. It + (name "php-composer-bin") + (version "2.7.8") + (home-page "https://getcomposer.org/") + (source (origin + (method url-fetch) + (uri (string-append "https://getcomposer.org/download/" version "/composer.phar")) + (sha256 + (base32 + "1q66nb0h9jmvwwjs4x4rn9y9y61rdhbc7pmizprqx7drmg15v8rx")))) + (build-system copy-build-system) + (arguments + `(#:install-plan (list '("composer.phar" "bin/composer")) + #:phases + (modify-phases %standard-phases + (add-after 'install 'make-executable + (lambda* (#:key outputs #:allow-other-keys) + (chmod + (string-append + (assoc-ref %outputs "out") "/bin/composer") #o555)))))) + (synopsis "Dependency Manager for PHP") + (description "Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.") - (license license:expat))) + (license license:expat))) diff --git a/artoria/packages/zig.scm b/artoria/packages/zig.scm new file mode 100644 index 0000000..35f097d --- /dev/null +++ b/artoria/packages/zig.scm @@ -0,0 +1,38 @@ +(define-module (artoria packages zig) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system copy) + #:use-module ((guix licenses) #:prefix license:)) +(define-public zig-bin-0.13 + (package + (name "zig-bin") + (version "0.13.0") + (home-page "https://ziglang.org/") + (source (origin + (method url-fetch) + (uri (string-append "https://ziglang.org/download/0.13.0/zig-linux-x86_64-" version ".tar.xz")) + (sha256 + (base32 + "1sih28hni53cnqbd3ap42vx12p4isrzwzi3vnwr81i5w3vk14lyl")))) + (build-system copy-build-system) + (arguments + `(#:install-plan (list '("zig" "bin/zig")) + #:phases + (modify-phases %standard-phases + (add-after 'install 'make-executable + (lambda* (#:key outputs #:allow-other-keys) + (chmod + (string-append + (assoc-ref %outputs "out") "/bin/zig") #o555)))))) + (synopsis "General purpose programming language and toolchain") + (description "Zig is a general-purpose programming language and +toolchain. Among other features it provides +@itemize +@item an Optional type instead of null pointers, +@item manual memory management, +@item generic data structures and functions, +@item compile-time reflection and compile-time code execution, +@item integration with C using zig as a C compiler, and +@item concurrency via async functions. +@end itemize") + (license license:expat)))