Merge branch 'qby-master-patch-61188' into 'master'

Thor

See merge request nonguix/nonguix!431
This commit is contained in:
qby 2025-01-28 18:57:13 +00:00
commit e31dffb914
2 changed files with 61 additions and 0 deletions

32
nongnu/packages/Thor.scm Normal file
View File

@ -0,0 +1,32 @@
(define-module (my-module thor)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
(define-public thor
(package
(name "thor")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Samsung-Loki/Thor")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0an8gqc4i4y993bz5wa65y49dd4a9dkj41jl5xd99c56s3yspi9h"))))
(build-system dotnet-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'build
(lambda _
(invoke "dotnet" "build" "-c" "Release" "--no-self-contained")))))) ; adjust accordingly
(inputs
`(("dotnet-sdk" ,dotnet-sdk-3.1) ))
(home-page "")
(synopsis "")
(description "")
(license license:expat))) ; adjust accordingly

View File

@ -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