From patchwork Sun May 19 04:51:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 14005 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 02B291702A; Sun, 19 May 2019 05:53:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 838A917027 for ; Sun, 19 May 2019 05:53:06 +0100 (BST) Received: from localhost ([127.0.0.1]:43888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSDon-0006ZL-NH for patchwork@mira.cbaines.net; Sun, 19 May 2019 00:53:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSDol-0006ZG-C3 for guix-patches@gnu.org; Sun, 19 May 2019 00:53:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSDok-0001Mo-3A for guix-patches@gnu.org; Sun, 19 May 2019 00:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSDok-0001Mi-0F for guix-patches@gnu.org; Sun, 19 May 2019 00:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hSDoj-0003hN-Us for guix-patches@gnu.org; Sun, 19 May 2019 00:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35795] [PATCH] squirrel: add at 3.1 Resent-From: atai@atai.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 May 2019 04:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35795 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35795@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155824154114162 (code B ref -1); Sun, 19 May 2019 04:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 May 2019 04:52:21 +0000 Received: from localhost ([127.0.0.1]:33600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSDo5-0003gM-8l for submit@debbugs.gnu.org; Sun, 19 May 2019 00:52:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSDo2-0003g8-Pu for submit@debbugs.gnu.org; Sun, 19 May 2019 00:52:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:43478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hSDnw-00017z-HR for submit@debbugs.gnu.org; Sun, 19 May 2019 00:52:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSDnv-0006UD-Bb for guix-patches@gnu.org; Sun, 19 May 2019 00:52:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSDnt-00016K-Qb for guix-patches@gnu.org; Sun, 19 May 2019 00:52:11 -0400 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:43143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSDnt-00015v-Fy for guix-patches@gnu.org; Sun, 19 May 2019 00:52:09 -0400 Received: by mail-pg1-x531.google.com with SMTP id t22so5163389pgi.10 for ; Sat, 18 May 2019 21:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lXcXJEwz6LuWrGZFvm9twT0eN1KkDmfrR5gFgbqRWuE=; b=FFHjLTxPgz44WrwnXgngb1RrrthijyiRAkG6UPBaGMXmxwBxuLBhfaimGPmMxZZWG4 ZwRV4+A4Cn55BXjnpOPSpn4I75HyU4uZ8T5PbWR3yCnV5kuS4d17CaVlygkUSNS1qVMr OTnA/2jCkrOCNptPN4Ns5NvNNAx1WCtuJ9j/zm9jAJP+0HFeZyT5IpBH/AZlTKmRn565 nI+J2f9hqspIX2C1bpUCUR7Rfm3yjrcREKxQmz1MLHnc6m4MoNIae4jJdxrsiXdx2uVI CmLX1kGUWlOAMtLuKZz7xtZDNSHmqi6y0YFF2qZ8MKC9FCR5j2+Cs1okeIx+K94VCkxS FdiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=lXcXJEwz6LuWrGZFvm9twT0eN1KkDmfrR5gFgbqRWuE=; b=LvbL0qiWSr3036xQGk7+zw58OmFJMJOn8yxiHG3UGXz3HzXZafsg5EhjZ3TXytnoup 0WAa4TD54zntAbwfgTRCQnXXSsH3P1+iN8kCLRSxRlKUYf+haHQUE4XWDoFdleM+39D1 wtEmhEQNQTaxeOY3n9qBAostgPbaEff9F7iTrAJzTuop4f0JiUltNp3EG1Y5HaJztezv G54eBSdLf2qNpmHurXOIF+YCq3boXnN7wvHd0Uc6tfkrJPlLf83RECeNOqMaiIP4gCaX YG3eLwovAc+ANogmxkbGSSKDZy8zh52kKxVOUi8P9W9dzVUzMWU0srB5SohPt3mPsSRi Y9pA== X-Gm-Message-State: APjAAAX6/4QWIbX1Wpb5xYJUjprQOXLcAH+/6LNuwFU9dNz8X7h+UwpY P2BLYOS2KzXkDt5nphm0/noeGYuW X-Google-Smtp-Source: APXvYqzXLs9de8i4uCXa2IYnvRrRLEoeBZLH+lxsWYJyh6rYZhQ5nGN5NQlkI1N7rYuVon2WlNJIqQ== X-Received: by 2002:a62:4859:: with SMTP id v86mr43242596pfa.237.1558241527420; Sat, 18 May 2019 21:52:07 -0700 (PDT) Received: from localhost.localdomain (c-73-223-125-224.hsd1.ca.comcast.net. [73.223.125.224]) by smtp.gmail.com with ESMTPSA id a26sm24389464pfl.177.2019.05.18.21.52.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 May 2019 21:52:06 -0700 (PDT) From: atai@atai.org Date: Sat, 18 May 2019 21:51:19 -0700 Message-Id: <20190519045119.29157-1-atai@atai.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andy Tai Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Andy Tai --- gnu/packages/squirrel.scm | 62 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 gnu/packages/squirrel.scm diff --git a/gnu/packages/squirrel.scm b/gnu/packages/squirrel.scm new file mode 100644 index 0000000000..f77e0e3024 --- /dev/null +++ b/gnu/packages/squirrel.scm @@ -0,0 +1,62 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Li-cheng (Andy) Tai, atai@atai.org +;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix 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. +;;; +;;; GNU Guix 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 GNU Guix. If not, see . + +(define-module (gnu packages squirrel) + #:use-module (gnu packages) + #:use-module (gnu packages admin) + #:use-module (gnu packages base) + #:use-module (gnu packages bash) + #:use-module (gnu packages cmake) + #:use-module (guix build-system cmake) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build utils) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (ice-9 match) + #:use-module (srfi srfi-1)) + +(define-public squirrel + (let ((commit "51137b84e66c4d526809fd8a59f4ba1d38138c76")) + (package + (name "squirrel") + (version "3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/albertodemichelis/squirrel.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0vbiv1q3qcy2vj8y0b9a2ckswl9ld398n3jnxijvwddrjgya5zav")))) + (build-system cmake-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'check)))) ; no tests + (native-inputs + `(("cmake" ,cmake))) + (home-page "https://squirrel-lang.org/") + (synopsis "High level imperative, object-oriented programming language") + (description + "Squirrel is a high level imperative, object-oriented programming language, +designed to be a light-weight scripting language that fits in the size, memory +bandwidth, and real-time requirements of applications like video games.") + (license license:zlib))))