summary refs log tree commit diff
path: root/pkgs/tools/misc/stow/default.nix
diff options
context:
space:
mode:
authorMoritz Ulrich <moritz@tarn-vedra.de>2013-09-05 12:03:02 +0200
committerEvgeny Egorochkin <phreedom@yandex.ru>2013-09-05 15:49:35 +0300
commitbe9b6c0fe2507461b0e85d84ecfe6b4a7c7aaa39 (patch)
treeb78328a9b7a3562b70c35b9596fc23cf424cfd3c /pkgs/tools/misc/stow/default.nix
parent207aa56201758700dd8481bce9c84b332de9b55b (diff)
downloadnixpkgs-be9b6c0fe2507461b0e85d84ecfe6b4a7c7aaa39.tar
nixpkgs-be9b6c0fe2507461b0e85d84ecfe6b4a7c7aaa39.tar.gz
nixpkgs-be9b6c0fe2507461b0e85d84ecfe6b4a7c7aaa39.tar.bz2
nixpkgs-be9b6c0fe2507461b0e85d84ecfe6b4a7c7aaa39.tar.lz
nixpkgs-be9b6c0fe2507461b0e85d84ecfe6b4a7c7aaa39.tar.xz
nixpkgs-be9b6c0fe2507461b0e85d84ecfe6b4a7c7aaa39.tar.zst
nixpkgs-be9b6c0fe2507461b0e85d84ecfe6b4a7c7aaa39.zip
GNU Stow: package - Symlink manager which makes it easy to manage dotfiles
Diffstat (limited to 'pkgs/tools/misc/stow/default.nix')
-rw-r--r--pkgs/tools/misc/stow/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/misc/stow/default.nix b/pkgs/tools/misc/stow/default.nix
new file mode 100644
index 00000000000..e0d7985ae07
--- /dev/null
+++ b/pkgs/tools/misc/stow/default.nix
@@ -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;
+  };
+}