From 0a7ed14108c264b8cbe05d1f11795cc5da536793 Mon Sep 17 00:00:00 2001 From: qby <5731587-qby@users.noreply.gitlab.com> Date: Tue, 12 Mar 2024 15:13:45 +0000 Subject: [PATCH] Adding Thor --- nongnu/packages/Thor.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 nongnu/packages/Thor.scm diff --git a/nongnu/packages/Thor.scm b/nongnu/packages/Thor.scm new file mode 100644 index 0000000..3d78d64 --- /dev/null +++ b/nongnu/packages/Thor.scm @@ -0,0 +1,34 @@ +(define-module (my-module thor) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system dotnet) + #:use-module (gnu packages dotnet)) + +(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