micro-server/guix-package.scm
2025-10-26 22:26:14 +00:00

55 lines
2 KiB
Scheme

;; dmbcs-micro-server A C++ library providing CGI or built-in
;; web server functions
;;
;; Copyright (C) 2025 DM Bespoke Computer Solutions
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or (at
;; your option) any later version.
;;
;; This program is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(define-module (dmbcs development packages micro-server)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix licenses)
#:use-module (gnu packages)
#:use-module (gnu packages curl)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages texinfo))
(define-public dmbcs-micro-server
(package
(name "dmbcs-micro-server")
(version "0.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://khleedril.org/forge/dmbcs/micro-server")
(commit (string-append "v" version))))
(sha256 (base32 "1gp9ax7x3mc9zzi0b3fgynsr9bn12cmdysbkylsva7544vzgdd5a"))))
(build-system cmake-build-system)
(arguments `(#:phases (modify-phases %standard-phases (delete 'check))))
(native-inputs (list pkg-config texinfo))
(propagated-inputs (list curlpp libgcrypt))
(synopsis "Yet another C++ web server class library")
(description
(string-append "A C++ web service module."))
(home-page "https://khleedril.org/dmbcs/micro-server")
(license gpl3+)))
dmbcs-micro-server