aboutsummaryrefslogtreecommitdiff
-rw-r--r--accounts.scm4217logplainabout
d---------examples396logplain
-rw-r--r--file-systems.scm23397logplainabout
-rw-r--r--hurd.scm4707logplainabout
-rw-r--r--image.scm24818logplainabout
d---------images118logplain
-rw-r--r--install.scm25644logplainabout
-rw-r--r--keyboard.scm4229logplainabout
-rw-r--r--linux-container.scm13112logplainabout
-rw-r--r--linux-initrd.scm16135logplainabout
-rw-r--r--locale.scm9146logplainabout
-rw-r--r--mapped-devices.scm12790logplainabout
-rw-r--r--nss.scm8241logplainabout
-rw-r--r--pam.scm14970logplainabout
-rw-r--r--shadow.scm15262logplainabout
-rw-r--r--uuid.scm12352logplainabout
-rw-r--r--vm.scm39863logplainabout
om/ffi/ffi") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1qk55s1zwpdjykwkj9l37m71i5n228i7f8bg3ply3ks9py16m7s6")))) (build-system ruby-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'replace-git-ls-files (lambda _ ;; Do not try to execute git, or include the (un)bundled LibFFI. (substitute* "ffi.gemspec" (("git ls-files -z") "find * -type f -print0 | sort -z") (("lfs \\+?= .*") "lfs = []\n")) (substitute* "Rakefile" (("git .*ls-files -z") "find * -type f -print0 | sort -z") (("LIBFFI_GIT_FILES = .*") "LIBFFI_GIT_FILES = []\n")))) (replace 'build (lambda _ ;; Tests depend on the native extensions, so we build it ;; beforehand without going through the gem machinery. (invoke "rake" "compile") ;; XXX: Ideally we'd use "rake native gem" here to prevent the ;; install phase from needlessly rebuilding everything, but that ;; requires the bundled LibFFI, and the install phase can not ;; deal with such gems anyway. (invoke "gem" "build" "ffi.gemspec"))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (if tests? (begin (setenv "MAKE" "make") (setenv "CC" "gcc") (invoke "rspec" "spec")) (format #t "test suite not run~%"))))))) (native-inputs (list ruby-rake-compiler ruby-rspec ruby-rubygems-tasks)) (inputs (list libffi)) (synopsis "Ruby foreign function interface library") (description "Ruby-FFI is a Ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code. Moreover, a Ruby-FFI extension works without changes on Ruby and JRuby.") (home-page "https://wiki.github.com/ffi/ffi") (license bsd-3)))