aboutsummaryrefslogtreecommitdiffstats
path: root/geoip/geoip.asd
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-06-06 18:09:50 +0200
committerOscar Najera <hi@oscarnajera.com>2025-06-06 18:27:04 +0200
commitb18f18229a2e1294fd10f759c60b89fededae9c8 (patch)
treec16096673af2c7b222f651016c593afac9c1492b /geoip/geoip.asd
parent0ce7a9320aab651218585d25738269692017b4ac (diff)
downloadscratch-b18f18229a2e1294fd10f759c60b89fededae9c8.tar.gz
scratch-b18f18229a2e1294fd10f759c60b89fededae9c8.tar.bz2
scratch-b18f18229a2e1294fd10f759c60b89fededae9c8.zip
create a system package
Diffstat (limited to 'geoip/geoip.asd')
-rw-r--r--geoip/geoip.asd20
1 files changed, 20 insertions, 0 deletions
diff --git a/geoip/geoip.asd b/geoip/geoip.asd
new file mode 100644
index 0000000..53826dd
--- /dev/null
+++ b/geoip/geoip.asd
@@ -0,0 +1,20 @@
+
+(defsystem "geoip"
+ :version "0.1.0"
+ :author "Oscar"
+ :license "GPL-3"
+ :depends-on ("cffi"
+ "mmap"
+ "split-sequence")
+ :components ((:file "ip"))
+ :description "Query maxminddb for ip information"
+ :in-order-to ((test-op (test-op "geoip/tests"))))
+
+(defsystem "geoip/tests"
+ :author "Oscar"
+ :license "GPL-3"
+ :depends-on ("geoip"
+ "fiveam")
+ :components ((:file "tests"))
+ :description "Test system for geoip"
+ :perform (test-op (op c) (symbol-call :fiveam :run!)))