1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/misc/stow/default.nix

38 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, perlPackages }:
2016-05-30 13:39:29 +01:00
let
version = "2.2.2";
in
stdenv.mkDerivation {
2016-05-30 13:39:29 +01:00
name = "stow-${version}";
src = fetchurl {
2016-05-30 13:39:29 +01:00
url = "mirror://gnu/stow/stow-${version}.tar.bz2";
sha256 = "1zd6g9cm3whvy5f87j81j4npl7q6kxl25f7z7p9ahiqfjqs200m0";
};
2016-05-30 13:39:29 +01:00
buildInputs = with perlPackages; [ perl IOStringy TestOutput ];
doCheck = true;
meta = {
description = "A tool for managing the installation of multiple software packages in the same run-time directory tree";
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.
'';
license = stdenv.lib.licenses.gpl3Plus;
homepage = https://www.gnu.org/software/stow/;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
platforms = stdenv.lib.platforms.all;
};
}