-
-
Save djeis97/d2d5f48d63dc3fa347b0a47c33af006e to your computer and use it in GitHub Desktop.
First-pass guix package for codeberg.org/grunfink/snac2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-modules ((guix licenses) #:prefix license:) | |
(guix gexp) | |
(guix git) | |
(guix git-download) | |
(guix build-system gnu) | |
(guix packages) | |
(guix utils) | |
(gnu packages) | |
(gnu packages tls) | |
(gnu packages curl)) | |
(let ((commit "2a5f10583b98cbf9aa094a244c021c8fee9e905e")) | |
(package | |
(name "snac") | |
(version (git-version "2.12" "0" commit)) | |
(source (origin | |
(method git-fetch) | |
(uri (git-reference | |
(url "https://codeberg.org/grunfink/snac2") | |
(commit commit))) | |
(file-name (git-file-name name version)) | |
(sha256 (base32 "02x67zgclyb3jka5gq8jddwzhg8rb7sm3wa7dwnbkp2ydflkhacr")))) | |
(build-system gnu-build-system) | |
(arguments (list #:tests? #f | |
#:make-flags #~(list (string-append "PREFIX=" #$output) | |
(string-append "CC=" #$(cc-for-target))) | |
#:phases #~(modify-phases %standard-phases | |
(add-before 'install 'create-bin (lambda _ (mkdir-p (string-append #$output "/bin")))) | |
(delete 'configure)))) | |
(inputs (list curl openssl-3.0)) | |
(home-page "https://codeberg.org/grunfink/snac2") | |
(synopsis "A simple, minimalistic ActivityPub instance") | |
(description "") | |
(license license:expat))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment