3
0
Fork 0
forked from mirrors/nixpkgs

Add Mark Lord's symlinks utility

This commit is contained in:
Cillian de Róiste 2014-07-08 19:19:15 +02:00
parent c734ec6952
commit 26e36dcc80
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "symlinks-${version}";
version = "1.4";
src = fetchurl {
url = "http://www.ibiblio.org/pub/Linux/utils/file/${name}.tar.gz";
sha256 = "1683psyi8jwq6anhnkwwyaf7pfksf19v04fignd6vi52s2fnifxh";
};
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/share/man
cp symlinks $out/bin/
cp symlinks.8 $out/share/man/
'';
# No license is mentioned in the code but
# http://www.ibiblio.org/pub/Linux/utils/file/symlinks.lsm
# and other package managers list it as
# "(c) Mark Lord, freely distributable"
meta = with stdenv.lib; {
description = "A symbolic link maintenance utility";
maintainers = [ maintainers.goibhniu ];
};
}

View file

@ -9652,6 +9652,8 @@ let
gpgSupport = true;
};
symlinks = callPackage ../tools/system/symlinks { };
syncthing = callPackage ../applications/networking/syncthing { };
# linux only by now