From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVCFD-0002H6-NH for guix-patches@gnu.org; Tue, 19 Jun 2018 04:44:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVCF9-00076i-FI for guix-patches@gnu.org; Tue, 19 Jun 2018 04:44:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVCF9-00076a-B1 for guix-patches@gnu.org; Tue, 19 Jun 2018 04:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fVCF9-0008RJ-4f for guix-patches@gnu.org; Tue, 19 Jun 2018 04:44:03 -0400 Subject: [bug#31881] [PATCH 3/4] gnu: Add go-github-com-ayufan-golang-kardianos-service. Resent-Message-ID: From: Rouby Pierre-Antoine Date: Tue, 19 Jun 2018 10:43:32 +0200 Message-Id: <20180619084333.8993-3-pierre-antoine.rouby@inria.fr> In-Reply-To: <20180619084333.8993-1-pierre-antoine.rouby@inria.fr> References: <20180619084333.8993-1-pierre-antoine.rouby@inria.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: 20180618161248.GB30565@jasmine.lan Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: leo@famulari.name Cc: 31881@debbugs.gnu.org, Rouby Pierre-Antoine * gnu/packages/golang.scm (go-github-com-ayufan-golang-kardianos-service): New variable. --- gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index bef450eb6..be7b0d3f3 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1762,3 +1762,36 @@ the standard library logger.") (description "Osext is an extensions to the standard os package for Golang.") (license license:bsd-3)))) + +(define-public go-github-com-ayufan-golang-kardianos-service + (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3") + (revision "0")) + (package + (name "go-github-com-ayufan-golang-kardianos-service") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/ayufan/golang-kardianos-service.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5")))) + (build-system go-build-system) + (native-inputs + `(("go-github-com-kardianos-osext" + ,go-github-com-kardianos-osext))) + (arguments + '(#:tests? #f ;FIXME tests fail: Service is not running. + #:import-path + "github.com/ayufan/golang-kardianos-service")) + (home-page + "https://github.com/ayufan/golang-kardianos-service") + (synopsis "This package is golang library to run program as a service") + (description + "Golang kardinos service is golang library to run go program as a +service.") + (license license:zlib)))) -- 2.17.0