1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/tools/system/symlinks/default.nix
Christian Kauhaus 880c9a22b9 symlinks: 1.4 -> 1.4.3
This version updated by J. Brandt Buckley <brandt@runlevel1.com>
features macOS support and has a proper license.
2018-01-08 15:09:20 +01:00

28 lines
733 B
Nix

{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "symlinks-${version}";
version = "1.4.3";
src = fetchurl {
url = "https://github.com/brandt/symlinks/archive/v${version}.tar.gz";
sha256 = "1cihrd3dap52z1msdhhgda7b7wy1l5ysfvyba8yxb3zjk0l5n417";
};
buildFlags = [ "CC=${stdenv.cc}/bin/cc" ];
installPhase = ''
mkdir -p $out/bin $out/share/man/man8
cp symlinks $out/bin
cp symlinks.8 $out/share/man/man8
'';
meta = with stdenv.lib; {
description = "Find and remedy problematic symbolic links on a system";
homepage = "https://github.com/brandt/symlinks";
license = licenses.mit;
maintainers = with maintainers; [ goibhniu ckauhaus ];
platforms = platforms.unix;
};
}