symlinks: 1.4 -> 1.4.3

This version updated by J. Brandt Buckley <brandt@runlevel1.com>
features macOS support and has a proper license.
This commit is contained in:
Christian Kauhaus 2018-01-07 10:11:43 +01:00
parent 09cab91fd2
commit 880c9a22b9

View File

@ -2,27 +2,26 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "symlinks-${version}"; name = "symlinks-${version}";
version = "1.4"; version = "1.4.3";
src = fetchurl { src = fetchurl {
url = "http://www.ibiblio.org/pub/Linux/utils/file/${name}.tar.gz"; url = "https://github.com/brandt/symlinks/archive/v${version}.tar.gz";
sha256 = "1683psyi8jwq6anhnkwwyaf7pfksf19v04fignd6vi52s2fnifxh"; sha256 = "1cihrd3dap52z1msdhhgda7b7wy1l5ysfvyba8yxb3zjk0l5n417";
}; };
buildFlags = [ "CC=${stdenv.cc}/bin/cc" ];
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin $out/share/man/man8
mkdir -p $out/share/man cp symlinks $out/bin
cp symlinks $out/bin/ cp symlinks.8 $out/share/man/man8
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; { meta = with stdenv.lib; {
description = "A symbolic link maintenance utility"; description = "Find and remedy problematic symbolic links on a system";
maintainers = [ maintainers.goibhniu ]; homepage = "https://github.com/brandt/symlinks";
platforms = platforms.linux; license = licenses.mit;
maintainers = with maintainers; [ goibhniu ckauhaus ];
platforms = platforms.unix;
}; };
} }