From patchwork Sat Jul 29 14:01:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 15407 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 8C15627BBE9; Sat, 29 Jul 2023 17:55:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, PP_MIME_FAKE_ASCII_TEXT,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8DFDA27BBE2 for ; Sat, 29 Jul 2023 17:55:26 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPn9n-0000vf-S9; Sat, 29 Jul 2023 12:51:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qPn9m-0000ub-5n for guix-patches@gnu.org; Sat, 29 Jul 2023 12:51:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qPn9l-0000i7-Sz for guix-patches@gnu.org; Sat, 29 Jul 2023 12:51:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qPn9j-0005Bj-Pu; Sat, 29 Jul 2023 12:51:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64934] [PATCH 01/42] gnu: Add java-commons-rdf-api. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bjoern.hoefling@bjoernhoefling.de, julien@lepiller.eu, guix-patches@gnu.org Resent-Date: Sat, 29 Jul 2023 16:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64934 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64934@debbugs.gnu.org Cc: bjoern.hoefling@bjoernhoefling.de, julien@lepiller.eu X-Debbugs-Original-Xcc: bjoern.hoefling@bjoernhoefling.de, julien@lepiller.eu Received: via spool by 64934-submit@debbugs.gnu.org id=B64934.169064944619660 (code B ref 64934); Sat, 29 Jul 2023 16:51:03 +0000 Received: (at 64934) by debbugs.gnu.org; 29 Jul 2023 16:50:46 +0000 Received: from localhost ([127.0.0.1]:48712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPn9R-00056c-6v for submit@debbugs.gnu.org; Sat, 29 Jul 2023 12:50:46 -0400 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:53594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPn9P-000566-1Y for 64934@debbugs.gnu.org; Sat, 29 Jul 2023 12:50:43 -0400 Received: by mail-ej1-x644.google.com with SMTP id a640c23a62f3a-98df3dea907so434927866b.3 for <64934@debbugs.gnu.org>; Sat, 29 Jul 2023 09:50:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690649437; x=1691254237; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5QB7tsJXtXcsQDftpBE3c7kcaMtrCobnVLzFnQaP0n4=; b=bGK8RIjBvni3S91oytQdPCWPxEL9UxhOB4A6b7Ywkzl+DmxzZpP2U+v63JdHZTl1Sc JdJv047QM+aLj2QiK5ka0AiZiGWOMOkjhozS4f2WK1LyKM/cStdF8Z5uv25I9GAGABL7 /O0j/fbuW5WPmVBEOuLk3cZu1snv58tDIgLlksKGAsfKHCDnuJ2ddpnQd9qDybLkCShA 6Vq97eCIupYabLsvlbl8XHXnMLD0iVvp/MjKScmxDt42ze0/wmYvrZIUv/aURdlOpwi2 awr4DQM4NiWoEM1NhzCGEwHZXAeZ/pdXVFfsoeV9saGtEZXcJsG2fQkWZluJ0TsWSzpe wRzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690649437; x=1691254237; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5QB7tsJXtXcsQDftpBE3c7kcaMtrCobnVLzFnQaP0n4=; b=L40ZIYcrOS3jvhWpiAUFQVwQNJKtq3FFFNj51Az0k5ofSB/Hcyoh/aDd77NMiuXqW7 WHby/8FJaFRaXBTN3Saj4aZDm2mOqqI79bZR/K+vX99k4I50c+ClTirxLyqUhCS33C9W YUCqpCOLuPhZ7ABIeLExx/Q3IssI15ONUvYDuHNAp8qlrXU25R8lJyDKTnDGzKJH+ixV YOIqfzg4fVRRHi6UULsPW27LpYWqD1NEPWHRRA+ADYd+ij2PK2FivQgKtg18e5WvwyQ4 Lv2SLM0YYYJWr4JhZkGcXuNcC7kCstX6hXBLUul6sISiFqNKa+uZHIycTboMlieJnF7S iGkQ== X-Gm-Message-State: ABy/qLYrgdQkUQ0gZKxjRFF25ekB31KbSC9AtK8wweSqRdt8GgGuvHnW K+2fsB51buaSdnu7QT9if3F3mSPrwksYLg== X-Google-Smtp-Source: APBJJlELY9m7LtjGQSvuBp+vII0RQOkm6tXNpqUB6vhs0ytSuWFmo2/ct8bEQ5tXkK7aTabQ/fjXLQ== X-Received: by 2002:a17:907:2ccc:b0:99b:8c6e:ec18 with SMTP id hg12-20020a1709072ccc00b0099b8c6eec18mr2075398ejc.48.1690649437024; Sat, 29 Jul 2023 09:50:37 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id a24-20020a170906245800b0099bcd1fa5b0sm3473807ejb.192.2023.07.29.09.50.36 for <64934@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jul 2023 09:50:36 -0700 (PDT) Message-ID: <2f8e7a40dbc23caa517198e795207b92b7ea32f5.1690646441.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Sat, 29 Jul 2023 16:01:17 +0200 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/java-rdf.scm: New file. (java-commons-rdf-api): New variable. --- gnu/packages/java-rdf.scm | 57 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 gnu/packages/java-rdf.scm diff --git a/gnu/packages/java-rdf.scm b/gnu/packages/java-rdf.scm new file mode 100644 index 0000000000..3a10ca4d0a --- /dev/null +++ b/gnu/packages/java-rdf.scm @@ -0,0 +1,57 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Liliana Marie Prikler +;;; +;;; 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 java-rdf) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system ant) + #:use-module (gnu packages) + #:use-module (gnu packages compression) + #:use-module (gnu packages java)) + +(define-public java-commons-rdf-api + (package + (name "java-commons-rdf-api") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://apache/commons/rdf/source/" + "apache-commons-rdf-" version + "-source-release.zip")) + (sha256 + (base32 + "14ihqgpbci6z5a5xlksbhjjxaw1kb80gx1k8l20v8w41in53rzqz")))) + (build-system ant-build-system) + (arguments + (list #:jar-name "commons-rdf-api.jar" + #:source-dir "src/main/java" + #:test-dir "src/test" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "commons-rdf-api"))) + (replace 'install + (install-from-pom "pom.xml"))))) + (native-inputs (list java-junit java-slf4j-simple unzip)) + (home-page "https://commons.apache.org/proper/commons-rdf/") + (synopsis "Java interfaces for RDF 1.1 concepts") + (description "This package provides Java interfaces for RDF 1.1 concepts.") + (license license:asl2.0)))