nixpkgs/pkgs/tools/misc/stow/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.2 KiB
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{ lib, stdenv, fetchurl, perl, perlPackages }:
2016-05-30 14:39:29 +02:00
let
2019-06-29 16:46:31 +02:00
pname = "stow";
2019-08-01 22:08:15 +02:00
version = "2.3.1";
2016-05-30 14:39:29 +02:00
in
stdenv.mkDerivation {
2019-06-29 16:46:31 +02:00
name = "${pname}-${version}";
src = fetchurl {
2016-05-30 14:39:29 +02:00
url = "mirror://gnu/stow/stow-${version}.tar.bz2";
2019-08-01 22:08:15 +02:00
sha256 = "0bs2b90wjkk1camcasy8kn403kazq6c7fj5m5msfl3navbgwz9i6";
};
2019-08-01 22:08:15 +02:00
buildInputs = with perlPackages; [ perl IOStringy TestOutput ];
doCheck = true;
meta = with lib; {
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 = licenses.gpl3Plus;
homepage = "https://www.gnu.org/software/stow/";
maintainers = with maintainers; [ sarcasticadmin ];
platforms = platforms.all;
};
}