mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
90fbf71333
Inactive in Nixpkgs since 2018 (and a single PR in 2022). https://github.com/NixOS/nixpkgs/issues?q=author%3Acillianderoiste
30 lines
743 B
Nix
30 lines
743 B
Nix
{ fetchFromGitHub, lib, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "symlinks";
|
|
version = "1.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "brandt";
|
|
repo = "symlinks";
|
|
rev = "v${version}";
|
|
sha256 = "EMWd7T/k4v1uvXe2QxhyPoQKUpKIUANE9AOwX461FgU=";
|
|
};
|
|
|
|
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 lib; {
|
|
description = "Find and remedy problematic symbolic links on a system";
|
|
homepage = "https://github.com/brandt/symlinks";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ckauhaus ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "symlinks";
|
|
};
|
|
}
|