summaryrefslogtreecommitdiff
path: root/packages/komodo/libsodium-komodo.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-23 22:16:45 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-23 22:34:31 +0100
commitf8dadd5feb3cdea16fe37edbbbe5e57a9357cb6c (patch)
tree5e3c421e4e79847e4ac44d1406a614b626373629 /packages/komodo/libsodium-komodo.scm
parent17baa1d05b3db978b144c1b1cc3def58bfc89fe4 (diff)
komodo: implement purer libsodium-komodo package: remove dependency on local files
Diffstat (limited to 'packages/komodo/libsodium-komodo.scm')
-rw-r--r--packages/komodo/libsodium-komodo.scm36
1 files changed, 0 insertions, 36 deletions
diff --git a/packages/komodo/libsodium-komodo.scm b/packages/komodo/libsodium-komodo.scm
deleted file mode 100644
index b1fe8b9..0000000
--- a/packages/komodo/libsodium-komodo.scm
+++ /dev/null
@@ -1,36 +0,0 @@
-(define-module (libsodium-komodo)
- #:use-module (gnu packages crypto)
- #:use-module (guix build-system cmake)
- #:use-module (guix gexp)
- #:use-module (guix packages))
-
-(define get-komodo-cmake
- (local-file "komodo-libsodium-cmakelists.txt"))
-
-(define get-komodo-sodiumconfig
- (local-file "komodo-libsodium-sodiumconfig.cmake.in"))
-
-(define copy-komodo-cmake
- `(copy-recursively ,get-komodo-cmake
- "CMakeLists.txt"))
-
-(define copy-komodo-sodiumconfig
- `(copy-recursively ,get-komodo-sodiumconfig
- "sodiumConfig.cmake.in"))
-
-(define phases
- #~ (modify-phases %standard-phases
- (add-after
- 'unpack
- 'add-cmakelists
- (lambda _
- #+ copy-komodo-cmake
- #+ copy-komodo-sodiumconfig))))
-
-(define arguments
- (list #:phases phases))
-
-(define-public libsodium-komodo
- (package (inherit libsodium)
- (build-system cmake-build-system)
- (arguments arguments)))