at 17.09-beta 37 lines 1.2 kB view raw
1{ stdenv, fetchurl, perl, perlPackages }: 2 3let 4 version = "2.2.2"; 5in 6stdenv.mkDerivation { 7 name = "stow-${version}"; 8 9 src = fetchurl { 10 url = "mirror://gnu/stow/stow-${version}.tar.bz2"; 11 sha256 = "1zd6g9cm3whvy5f87j81j4npl7q6kxl25f7z7p9ahiqfjqs200m0"; 12 }; 13 14 buildInputs = with perlPackages; [ perl IOStringy TestOutput ]; 15 16 doCheck = true; 17 18 meta = { 19 description = "A tool for managing the installation of multiple software packages in the same run-time directory tree"; 20 21 longDescription = '' 22 GNU Stow is a symlink farm manager which takes distinct packages 23 of software and/or data located in separate directories on the 24 filesystem, and makes them appear to be installed in the same 25 place. For example, /usr/local/bin could contain symlinks to 26 files within /usr/local/stow/emacs/bin, /usr/local/stow/perl/bin 27 etc., and likewise recursively for any other subdirectories such 28 as .../share, .../man, and so on. 29 ''; 30 31 license = stdenv.lib.licenses.gpl3Plus; 32 homepage = http://www.gnu.org/software/stow/; 33 34 maintainers = with stdenv.lib.maintainers; [ the-kenny jgeerds ]; 35 platforms = stdenv.lib.platforms.all; 36 }; 37}