From f9ff69e1c79f024ed188ad51642cca443aedfee2 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 11 Dec 2021 10:27:24 +0000 Subject: Get most of the functionality sort of working At least working enough to start trying this out, and finding the problems. --- guix-dev.scm | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 guix-dev.scm (limited to 'guix-dev.scm') diff --git a/guix-dev.scm b/guix-dev.scm new file mode 100644 index 0000000..b4c9aba --- /dev/null +++ b/guix-dev.scm @@ -0,0 +1,71 @@ +;;; nar-herder +;;; +;;; Copyright © 2021 Christopher Baines +;;; +;;; This file is part of the nar-herder. +;;; +;;; guix-data-service 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. +;;; +;;; guix-data-service 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 the guix-data-service. If not, see +;;; . + +;;; Run the following command to enter a development environment for +;;; the nar-herder: +;;; +;;; $ guix environment -l guix-dev.scm + +(use-modules ((guix licenses) #:prefix license:) + (guix packages) + (guix download) + (guix git-download) + (guix utils) + (guix build-system gnu) + (gnu packages) + (gnu packages autotools) + (gnu packages compression) + (gnu packages databases) + (gnu packages gnupg) + (gnu packages guile) + (gnu packages guile-xyz) + (gnu packages package-management) + (gnu packages perl) + (gnu packages pkg-config) + (gnu packages ruby) + (gnu packages sqlite) + (gnu packages texinfo) + (gnu packages web) + (srfi srfi-1)) + +(package + (name "nar-herder") + (version "0") + (source #f) + (build-system gnu-build-system) + (inputs + `(("guix" ,guix) + ("guile-json" ,guile-json-4) + ("guile-fibers" ,guile-fibers) + ("guile-gcrypt" ,guile-gcrypt) + ("guile-readline" ,guile-readline) + ("guile-lzlib" ,guile-lzlib) + ("guile" ,@(assoc-ref (package-native-inputs guix) "guile")) + ("guile-sqlite3" ,guile-sqlite3) + ("sqlite" ,sqlite))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config) + ("nginx" ,nginx))) + (synopsis "TODO") + (description "TODO") + (home-page "TODO") + (license license:gpl3+)) -- cgit v1.2.3