Added v0.2 of metznet-system

master
Noah Metz 2022-08-16 12:10:25 -06:00
parent 9075fb4c45
commit 309456164b
1 changed files with 63 additions and 11 deletions

@ -2,6 +2,7 @@
#:use-module ((guix licenses) #:prefix licenses:) #:use-module ((guix licenses) #:prefix licenses:)
#:use-module (nonguix licenses) #:use-module (nonguix licenses)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages java) #:use-module (gnu packages java)
#:use-module (gnu packages xorg) #:use-module (gnu packages xorg)
@ -10,31 +11,82 @@
#:use-module (gnu packages kerberos) #:use-module (gnu packages kerberos)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
#:use-module (gnu packages crypto) #:use-module (gnu packages crypto)
#:use-module (gnu services)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix git) #:use-module (guix git)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix extracting-download) #:use-module (guix records)
#:use-module (gnu packages vim)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (guix packages)) #:use-module (guix packages)
#:use-module (ice-9 ftw)
#:use-module (ice-9 match))
(define-public test (define-public metznet-system
(package (package
(name "test") (name "metznet-system")
(version "1.2") (version "0.2")
(source (source
(git-checkout (git-checkout
(url "git://home.noahmetz.xyz/nmetz/test.git") (url "git://git.metznet.ca/system.git")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(build-system gnu-build-system) (build-system copy-build-system)
(native-inputs (list autoconf automake)) (arguments
(synopsis "Hello world program") '(#:install-plan
(description "Prints hello world") '(("." "etc/system"))))
(home-page "http://home.noahmetz.xyz") (synopsis "metznet GUIX system definitions")
(description "metznet GUIX system definitions")
(home-page "http://home.metznet.ca")
(license licenses:gpl3+)))
(define-record-type* <metznet-system-configuration>
metznet-system-configuration make-metznet-system-configuration
metznet-system-configuration?
(repo metznet-system-configuration-repo
(default metznet-system))
(directory metznet-system-configuration-directory
(default "/etc/system")))
(define-public metznet-system-activation
(match-lambda
(($ <metznet-system-configuration> repo directory)
#~(begin
(use-modules (guix build utils))
(symlink #$repo #$directory)))))
(define-public metznet-system-service-type
(service-type
(name 'metznet-system)
(description "GUIX System service using metznet files")
(extensions (list
(service-extension activation-service-type metznet-system-activation)))
(default-value (metznet-system-configuration))))
(define-public nvim-vimtex
(package
(name "nvim-vimtex")
(version "2.10")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/lervag/vimtex")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1d16rlnp3rszx451nqrax15z46swa7cg4krbn840dcsspigx3ybl"))))
(build-system copy-build-system)
(arguments
'(#:install-plan
'(("." "share/nvim/site/pack/lervag/start/vimtex"))))
(home-page "")
(synopsis "LaTeX plugin for neovim")
(description "Neovim plugin which provides highlighting for latex, along with bindings for auto-compilation")
(license licenses:gpl3+))) (license licenses:gpl3+)))
(define-public lib-ledger-core (define-public lib-ledger-core