depot/third_party/nixpkgs/pkgs/tools/system/symlinks/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
723 B
Nix

{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
pname = "symlinks";
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;
};
}