diff --git a/nongnu/packages/anonsurf-parrot.scm b/nongnu/packages/anonsurf-parrot.scm new file mode 100644 index 00000000..8f472ab0 --- /dev/null +++ b/nongnu/packages/anonsurf-parrot.scm @@ -0,0 +1,29 @@ +(define-module (my-packages anonsurf) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system gnu)) + +(define-public anonsurf + (package + (name "anonsurf") + (version version) ;; Insert the appropriate version number + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ParrotSec/anonsurf") + (commit version))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + hash)))) ;; Update SHA256 hash + (build-system gnu-build-system) + (arguments `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'pre-configure + (lambda _ + (invoke "make") + #t))))) + (home-page "https://github.com/ParrotSec/anonsurf") + (synopsis "Parrot AnonSurf Module") + (description "AnonSurf is a script designed to start TOR and set the iptables properly to prevent traffic from passing outside the TOR network.") + (license license:license))) ;; Update the license if different diff --git a/nongnu/packages/docker-osx-ventura.scm b/nongnu/packages/docker-osx-ventura.scm new file mode 100644 index 00000000..a8d48761 --- /dev/null +++ b/nongnu/packages/docker-osx-ventura.scm @@ -0,0 +1,35 @@ +(define-module (my-packages dockerosx) + #:use-module (guix) + #:use-module (guix build-system trivial)) + +(define-public example + (package + (name "Docker-OSX") + (version "1.0") + (source (origin + (method url-fetch) + (uri "github") + (sha256 (base32 + hash)))) + (build-system trivial-build-system) + (arguments + `(#:builder + (begin + (use-modules (guix build utils)) + + (let* ((out (assoc-ref %outputs "out"))) + (system* "bash" "-c" "podman run -it \ + --device /dev/kvm \ + -p 50922:10022 \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ + -e "DISPLAY=${DISPLAY:-:0.0}" \ + -e GENERATE_UNIQUE=true \ + -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ + sickcodes/docker-osx:ventura") + (system* "bash" "-c" "podman build -t docker-osx --build-arg SHORTNAME=ventura .") + + ;; The trivial builder must create the output directory + (mkdir out)))))) + + +