diff options
-rw-r--r-- | private/komodo/komodo.scm | 25 | ||||
-rw-r--r-- | private/komodo/libsodium-komodo.scm | 25 |
2 files changed, 27 insertions, 23 deletions
diff --git a/private/komodo/komodo.scm b/private/komodo/komodo.scm index 1e254a5340..f4c41eb38f 100644 --- a/private/komodo/komodo.scm +++ b/private/komodo/komodo.scm @@ -6,7 +6,6 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) - #:use-module (gnu packages crypto) #:use-module (gnu packages game-development) #:use-module (gnu packages logging) #:use-module (gnu packages pretty-print) @@ -14,34 +13,14 @@ #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (guix build utils) - #:use-module (guix build-system cmake) #:use-module (guix build-system qt) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages)) - -(define-public libsodium-komodo - (package - (inherit libsodium) - (build-system cmake-build-system) - (arguments - (list - #:phases - #~ (modify-phases - %standard-phases - (add-after - 'unpack - 'add-cmakelists - (lambda _ - (copy-recursively - #+ (local-file "komodo-libsodium-cmakelists.txt") - "CMakeLists.txt") - (copy-recursively - #+ (local-file "komodo-libsodium-sodiumconfig.cmake.in") - "sodiumConfig.cmake.in")))))))) + #:use-module (guix packages) + #:use-module (libsodium-komodo)) (define komodo-wallet-version "0.7.0-beta") diff --git a/private/komodo/libsodium-komodo.scm b/private/komodo/libsodium-komodo.scm new file mode 100644 index 0000000000..6e39b8cbb9 --- /dev/null +++ b/private/komodo/libsodium-komodo.scm @@ -0,0 +1,25 @@ +(define-module (libsodium-komodo) + #:use-module (gnu packages crypto) + #:use-module (guix build-system cmake) + #:use-module (guix gexp) + #:use-module (guix packages)) + +(define-public libsodium-komodo + (package + (inherit libsodium) + (build-system cmake-build-system) + (arguments + (list + #:phases + #~ (modify-phases + %standard-phases + (add-after + 'unpack + 'add-cmakelists + (lambda _ + (copy-recursively + #+ (local-file "komodo-libsodium-cmakelists.txt") + "CMakeLists.txt") + (copy-recursively + #+ (local-file "komodo-libsodium-sodiumconfig.cmake.in") + "sodiumConfig.cmake.in")))))))) |