summaryrefslogtreecommitdiffstats
path: root/indeedwatcher.scm
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2023-07-15 07:29:57 -0500
committermsglm <msglm@techchud.xyz>2023-07-15 07:29:57 -0500
commit1023ff3e8643a13c75a38b087b50cd4d9d9b442c (patch)
tree0aceb0528b0c4c332f3b6220c3a788c50ebd522a /indeedwatcher.scm
downloadguix-msglm-1023ff3e8643a13c75a38b087b50cd4d9d9b442c.tar.gz
guix-msglm-1023ff3e8643a13c75a38b087b50cd4d9d9b442c.tar.bz2
guix-msglm-1023ff3e8643a13c75a38b087b50cd4d9d9b442c.zip
Init Commit
Diffstat (limited to 'indeedwatcher.scm')
-rw-r--r--indeedwatcher.scm49
1 files changed, 49 insertions, 0 deletions
diff --git a/indeedwatcher.scm b/indeedwatcher.scm
new file mode 100644
index 0000000..83ad8df
--- /dev/null
+++ b/indeedwatcher.scm
@@ -0,0 +1,49 @@
+(define-module (indeedwatcher)
+ #:use-module (guix licenses)
+ #:use-module (guix packages)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages nim)
+ )
+
+
+
+
+(define-public indeedwatcher
+ (package
+ (name "indeedwatcher")
+ (version "1.1.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.techchud.xyz/indeedwatcher")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qsq364zqyqwxj8qji3r3wr3ch4704jnhsjyj83q7nprgjdvgd9a"))))
+ (build-system gnu-build-system)
+ (inputs (list nim))
+ (arguments
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'build
+ (lambda _
+ (mkdir-p "bin")
+ (invoke "nimble" "build" "--nimbleDir:./bin/" "-y")
+ #t))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (man1 (string-append out "/share/man/man1")))
+ (install-file "./bin/indeedwatcher" bin)))))))
+ (synopsis "Scrapes indeed for job listings")
+ (description
+ "This is a nim program for getting jobs from
+ indeed delivered to you in an easy to parse format.")
+ (home-page "https://git.techchud.xyz/indeedwatcher/")
+ (license agpl3)))