Compare commits
1
Commits
master
..
wip-seal-c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac44f32a47 |
@@ -1,8 +1,4 @@
|
||||
(authorizations
|
||||
(version 0)
|
||||
(("EC9D623B2797AB3FEF7A832B534DF8EEEFCB57EF"
|
||||
(name "nathanmcrae-key_nk"))
|
||||
("BF2C984D163E47CAAA95AD589B06663352168487"
|
||||
(name "nathanmcrae-key_ei"))
|
||||
("4EFC53D35C6E8390202B010C7B35DA8E92B1F3AF"
|
||||
(name "nathanmcrae-key_oz"))))
|
||||
(("BF2C984D163E47CAAA95AD589B06663352168487"
|
||||
(name "nathanmcrae-key_ei"))))
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mDMEao0gxBYJKwYBBAHaRw8BAQdAdfh8pZ1KRMV1RmCOBST+WuUD+0g1pK/E2WQM
|
||||
2loQ/oG0Lk5hdGhhbiBDaHJpc3RvcGhlciBNY1JhZSA8bWVAbmF0aGFubWNyYWUu
|
||||
bmFtZT6IlgQTFgoAPhYhBE78U9NcboOQICsBDHs12o6SsfOvBQJqjSDEAhsDBQkF
|
||||
o5qABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEHs12o6SsfOvbYcBALdC3bbj
|
||||
SbEzLcZmseLqH7qu7PSa5Het6TRkSXVYF4MoAQCbUSuI+D2wn4SW61r/yxkYiXR2
|
||||
ukcyKewMoecfOyr5Brg4BGqNIMQSCisGAQQBl1UBBQEBB0DXYmJIRKJJ2JrJ4zwj
|
||||
HJDIxq+TrKIeLO0DmpU3/XEUKgMBCAeIfgQYFgoAJhYhBE78U9NcboOQICsBDHs1
|
||||
2o6SsfOvBQJqjSDEAhsMBQkFo5qAAAoJEHs12o6SsfOv0J0A/0uYizUoj29+9H/6
|
||||
vP1uivfQmScQo+O92R6DpW+pLcdZAQCqooIFlxQ2rlVAm63mQW0QUT4AP7H87GKF
|
||||
TiMlaicSCQ==
|
||||
=k8I+
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
+19
-53
@@ -1,7 +1,6 @@
|
||||
(define-module (nathanmcrae packages)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages commencement)
|
||||
#:use-module (gnu packages crypto)
|
||||
#:use-module (gnu packages curl)
|
||||
#:use-module (gnu packages golang)
|
||||
#:use-module (gnu packages golang-build)
|
||||
@@ -76,63 +75,30 @@ not permute arguments. It is intended as a replacement for Go's flag package.")
|
||||
(license unlicense)
|
||||
(home-page "https://github.com/skeeto/passphrase2pgp")))
|
||||
|
||||
(define-public wiringpi
|
||||
(define-public seal-c
|
||||
(package
|
||||
(name "wiringpi")
|
||||
(version "3.18")
|
||||
(name "seal-c")
|
||||
(version "0.0.7-beta")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/WiringPi/WiringPi.git")
|
||||
(commit "3.18")))
|
||||
(url "https://github.com/hackerfactor/SEAL-C.git")
|
||||
(commit "0.0.7-beta")))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0556n8f8j0920b4l7jamwx2j7c6h13b2fm3hny1islclgngf8c7g"))))
|
||||
(native-inputs (list libxcrypt))
|
||||
(propagated-inputs (list libxcrypt))
|
||||
(native-search-paths
|
||||
(list (search-path-specification
|
||||
(variable "LIBRARY_PATH")
|
||||
(files (list "include")))
|
||||
(search-path-specification
|
||||
(variable "LD_LIBRARY_PATH")
|
||||
(files (list "lib")))))
|
||||
(sha256 (base32 "1ipinbc1r2a5srw9fi0nhxqj6pp0vf6kcgwczsqf1g0f4kmw99nd"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(arguments (list #:tests? #f
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(delete 'check)
|
||||
(delete 'install)
|
||||
(replace 'build
|
||||
(lambda* (#:key tests? ints outputs #:allow-other-keys)
|
||||
(use-modules (ice-9 ftw))
|
||||
(let* ((out-dir (assoc-ref outputs "out"))
|
||||
(versioned-so (string-append "libwiringPi.so."
|
||||
#$version))
|
||||
(versioned-so-path (string-append out-dir "/lib/" versioned-so))
|
||||
(so-path (string-append out-dir "/lib/libwiringPi.so")))
|
||||
(with-directory-excursion "wiringPi"
|
||||
; Otherwise the makefile will default to using cc
|
||||
(setenv "CC" "gcc")
|
||||
(invoke "make")
|
||||
; TODO: move to install phase
|
||||
(install-file (string-append "libwiringPi.so."
|
||||
#$version)
|
||||
(string-append out-dir "/lib"))
|
||||
(invoke "ln" versioned-so-path so-path)
|
||||
(for-each (lambda (file)
|
||||
(display file)
|
||||
(install-file file
|
||||
(string-append out-dir "/include")))
|
||||
(find-files "." "\\.h$"))
|
||||
|
||||
(install-file "wiringPi.h"
|
||||
(string-append out-dir "/include")))))))))
|
||||
(home-page "https://github.com/WiringPi/WiringPi")
|
||||
(synopsis "The arguably fastest GPIO Library for the Raspberry Pi")
|
||||
(description
|
||||
"The WiringPi Library is a highly performant GPIO access library for Raspberry Pi boards. This library is written in C and is designed to provide fast and efficient control of the GPIO pins by directly accessing the hardware registers using DMA.")
|
||||
(license lgpl3)))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((outdir (assoc-ref outputs "out"))
|
||||
(bindir (string-append outdir "/bin")))
|
||||
(install-file "bin/sealtool" bindir)))))))
|
||||
(native-inputs (list gcc-toolchain))
|
||||
(inputs (list curl (specification->package "openssl@3.5.5")))
|
||||
(home-page "https://github.com/hackerfactor/SEAL-C/")
|
||||
(synopsis "Secure Evidence Attribution Label (SEAL) implementation in C")
|
||||
(description "SEAL is an open solution for assigning attribution with authentication to media. It can be easily applied to pictures, audio files, videos, documents, and other file formats.")
|
||||
(license ogl-psi1.0)))
|
||||
|
||||
Reference in New Issue
Block a user