2013-09-05 12:03:02 +02:00
|
|
|
{ stdenv, fetchurl, perl, perlPackages }:
|
|
|
|
|
2016-05-30 14:39:29 +02:00
|
|
|
let
|
|
|
|
version = "2.2.2";
|
|
|
|
in
|
2013-09-05 12:03:02 +02:00
|
|
|
stdenv.mkDerivation {
|
2016-05-30 14:39:29 +02:00
|
|
|
name = "stow-${version}";
|
2013-09-05 12:03:02 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-30 14:39:29 +02:00
|
|
|
url = "mirror://gnu/stow/stow-${version}.tar.bz2";
|
|
|
|
sha256 = "1zd6g9cm3whvy5f87j81j4npl7q6kxl25f7z7p9ahiqfjqs200m0";
|
2013-09-05 12:03:02 +02:00
|
|
|
};
|
|
|
|
|
2016-05-30 14:39:29 +02:00
|
|
|
buildInputs = with perlPackages; [ perl IOStringy TestOutput ];
|
2015-06-26 04:28:04 +02:00
|
|
|
|
2013-09-05 12:03:02 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2013-09-26 21:37:49 +02:00
|
|
|
description = "A tool for managing the installation of multiple software packages in the same run-time directory tree";
|
2013-09-05 12:03:02 +02:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU Stow is a symlink farm manager which takes distinct packages
|
|
|
|
of software and/or data located in separate directories on the
|
|
|
|
filesystem, and makes them appear to be installed in the same
|
|
|
|
place. For example, /usr/local/bin could contain symlinks to
|
|
|
|
files within /usr/local/stow/emacs/bin, /usr/local/stow/perl/bin
|
|
|
|
etc., and likewise recursively for any other subdirectories such
|
|
|
|
as .../share, .../man, and so on.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-09-05 12:03:02 +02:00
|
|
|
homepage = http://www.gnu.org/software/stow/;
|
|
|
|
|
2015-06-22 08:25:07 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny jgeerds ];
|
2013-09-05 12:03:02 +02:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|