Compare commits
1
Commits
master
..
wip-seal-c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac44f32a47 |
@@ -1,8 +1,4 @@
|
|||||||
(authorizations
|
(authorizations
|
||||||
(version 0)
|
(version 0)
|
||||||
(("EC9D623B2797AB3FEF7A832B534DF8EEEFCB57EF"
|
(("BF2C984D163E47CAAA95AD589B06663352168487"
|
||||||
(name "nathanmcrae-key_nk"))
|
(name "nathanmcrae-key_ei"))))
|
||||||
("BF2C984D163E47CAAA95AD589B06663352168487"
|
|
||||||
(name "nathanmcrae-key_ei"))
|
|
||||||
("4EFC53D35C6E8390202B010C7B35DA8E92B1F3AF"
|
|
||||||
(name "nathanmcrae-key_oz"))))
|
|
||||||
|
|||||||
@@ -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-----
|
|
||||||
+24
-58
@@ -1,7 +1,6 @@
|
|||||||
(define-module (nathanmcrae packages)
|
(define-module (nathanmcrae packages)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages commencement)
|
#:use-module (gnu packages commencement)
|
||||||
#:use-module (gnu packages crypto)
|
|
||||||
#:use-module (gnu packages curl)
|
#:use-module (gnu packages curl)
|
||||||
#:use-module (gnu packages golang)
|
#:use-module (gnu packages golang)
|
||||||
#:use-module (gnu packages golang-build)
|
#: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)
|
(license unlicense)
|
||||||
(home-page "https://github.com/skeeto/passphrase2pgp")))
|
(home-page "https://github.com/skeeto/passphrase2pgp")))
|
||||||
|
|
||||||
(define-public wiringpi
|
(define-public seal-c
|
||||||
(package
|
(package
|
||||||
(name "wiringpi")
|
(name "seal-c")
|
||||||
(version "3.18")
|
(version "0.0.7-beta")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/WiringPi/WiringPi.git")
|
(url "https://github.com/hackerfactor/SEAL-C.git")
|
||||||
(commit "3.18")))
|
(commit "0.0.7-beta")))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256 (base32 "1ipinbc1r2a5srw9fi0nhxqj6pp0vf6kcgwczsqf1g0f4kmw99nd"))))
|
||||||
(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")))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments (list #:tests? #f
|
||||||
(list
|
#:phases #~(modify-phases %standard-phases
|
||||||
#:phases
|
(delete 'configure)
|
||||||
#~(modify-phases %standard-phases
|
(replace 'install
|
||||||
(delete 'configure)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(delete 'check)
|
(let* ((outdir (assoc-ref outputs "out"))
|
||||||
(delete 'install)
|
(bindir (string-append outdir "/bin")))
|
||||||
(replace 'build
|
(install-file "bin/sealtool" bindir)))))))
|
||||||
(lambda* (#:key tests? ints outputs #:allow-other-keys)
|
(native-inputs (list gcc-toolchain))
|
||||||
(use-modules (ice-9 ftw))
|
(inputs (list curl (specification->package "openssl@3.5.5")))
|
||||||
(let* ((out-dir (assoc-ref outputs "out"))
|
(home-page "https://github.com/hackerfactor/SEAL-C/")
|
||||||
(versioned-so (string-append "libwiringPi.so."
|
(synopsis "Secure Evidence Attribution Label (SEAL) implementation in C")
|
||||||
#$version))
|
(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.")
|
||||||
(versioned-so-path (string-append out-dir "/lib/" versioned-so))
|
(license ogl-psi1.0)))
|
||||||
(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)))
|
|
||||||
|
|||||||
Reference in New Issue
Block a user