From e66bc1765377ec0b7cbb7e96956929d9024034f9 Mon Sep 17 00:00:00 2001 From: qby <5731587-qby@users.noreply.gitlab.com> Date: Wed, 17 Jan 2024 18:43:52 +0000 Subject: [PATCH] Don't hesitate editing and commenting --- nongnu/packages/anonsurf-parrot | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 nongnu/packages/anonsurf-parrot diff --git a/nongnu/packages/anonsurf-parrot b/nongnu/packages/anonsurf-parrot new file mode 100644 index 0000000..8f472ab --- /dev/null +++ b/nongnu/packages/anonsurf-parrot @@ -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