blob: f44a8d1932139159e63b880dd4c6f27c8afbac41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
stdenv,
fetchurl,
perlPackages,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "stow";
version = "2.4.1";
src = fetchurl {
url = "mirror://gnu/stow/stow-${finalAttrs.version}.tar.bz2";
hash = "sha256-DYWoUTZ355I2l7zkLNuzPStXr5FaveHQZx566Asu8LQ=";
};
nativeBuildInputs = [ perlPackages.perl ];
buildInputs = with perlPackages; [
perl
IOStringy
TestOutput
];
doCheck = true;
meta = {
description = "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 = lib.licenses.gpl3Plus;
homepage = "https://www.gnu.org/software/stow/";
maintainers = with lib.maintainers; [ sarcasticadmin ];
platforms = lib.platforms.all;
};
})
|