mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
GNU Stow: package - Symlink manager which makes it easy to manage dotfiles
This commit is contained in:
parent
207aa56201
commit
be9b6c0fe2
2 changed files with 36 additions and 0 deletions
34
pkgs/tools/misc/stow/default.nix
Normal file
34
pkgs/tools/misc/stow/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchurl, perl, perlPackages }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "stow-2.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnu/stow/stow-2.2.0.tar.bz2;
|
||||
sha256 = "01bbsqjmrnd9925s3grvgjnrl52q4w65imrvzy05qaij3pz31g46";
|
||||
};
|
||||
|
||||
buildInputs = [ perl perlPackages.TestOutput ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Stow is 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 = "GPLv3+";
|
||||
homepage = http://www.gnu.org/software/stow/;
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -1764,6 +1764,8 @@ let
|
|||
|
||||
storeBackup = callPackage ../tools/backup/store-backup { };
|
||||
|
||||
stow = callPackage ../tools/misc/stow { };
|
||||
|
||||
stun = callPackage ../tools/networking/stun { };
|
||||
|
||||
stunnel = callPackage ../tools/networking/stunnel { };
|
||||
|
|
Loading…
Reference in a new issue