From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 7/7] gnu: Add Stow. Date: Sat, 21 Feb 2015 20:16:32 +0100 Message-ID: <1424546192-26668-8-git-send-email-rekado@elephly.net> References: <1424546192-26668-1-git-send-email-rekado@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPFZI-0000aW-3g for guix-devel@gnu.org; Sat, 21 Feb 2015 14:18:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPFZG-0007lR-Ng for guix-devel@gnu.org; Sat, 21 Feb 2015 14:18:24 -0500 Received: from sender1.zohomail.com ([74.201.84.155]:30028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPFZG-0007lF-Fo for guix-devel@gnu.org; Sat, 21 Feb 2015 14:18:22 -0500 In-Reply-To: <1424546192-26668-1-git-send-email-rekado@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/package-management.scm (stow): New variable. --- gnu/packages/package-management.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index acb72f6..97e96c7 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès +;;; Copyright © 2015 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -22,7 +23,7 @@ #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) - #:use-module ((guix licenses) #:select (gpl3+ lgpl2.1+)) + #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+)) #:use-module (gnu packages) #:use-module (gnu packages guile) #:use-module ((gnu packages compression) #:select (bzip2 gzip)) @@ -210,3 +211,31 @@ never change after they have been built. Nix stores packages in the Nix store, usually the directory /nix/store, where each package has its own unique sub-directory.") (license lgpl2.1+))) + +(define-public stow + (package + (name "stow") + (version "2.2.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/stow/stow-" + version ".tar.gz")) + (sha256 + (base32 + "0arw1nsdlcvd7javkbk2bdvnc31d7dmb6fr25xyyi6ng76cxg2cb")))) + (build-system gnu-build-system) + (inputs + `(("perl" ,perl))) + (native-inputs + `(("perl-test-simple" ,perl-test-simple) + ("perl-test-output" ,perl-test-output) + ("perl-capture-tiny" ,perl-capture-tiny))) + (home-page "https://www.gnu.org/software/stow/") + (synopsis "Managing installed software packages") + (description + "GNU Stow is a symlink manager. It generates symlinks to directories +of data and makes them appear to be merged into the same directory. It is +typically used for managing software packages installed from source, by +letting you install them apart in distinct directories and then create +symlinks to the files in a common directory such as /usr/local.") + (license gpl2+))) -- 2.1.0