Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3ffb4137d922
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 505767557f92
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 8, 2018

  1. symlinks: 1.4 -> 1.4.3

    This version updated by J. Brandt Buckley <brandt@runlevel1.com>
    features macOS support and has a proper license.
    Christian Kauhaus committed Jan 8, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    globin Robin Gloster
    Copy the full SHA
    880c9a2 View commit details

Commits on Jan 9, 2018

  1. Merge pull request #33611 from ckauhaus/submit/symlinks-1.4.3

    symlinks: 1.4 -> 1.4.3
    cillianderoiste authored Jan 9, 2018

    Partially verified

    This commit is signed with the committer’s verified signature. The key has expired.
    globin’s contribution has been verified via GPG key.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    5057675 View commit details
Showing with 13 additions and 14 deletions.
  1. +13 −14 pkgs/tools/system/symlinks/default.nix
27 changes: 13 additions & 14 deletions pkgs/tools/system/symlinks/default.nix
Original file line number Diff line number Diff line change
@@ -2,27 +2,26 @@

stdenv.mkDerivation rec {
name = "symlinks-${version}";
version = "1.4";
version = "1.4.3";

src = fetchurl {
url = "http://www.ibiblio.org/pub/Linux/utils/file/${name}.tar.gz";
sha256 = "1683psyi8jwq6anhnkwwyaf7pfksf19v04fignd6vi52s2fnifxh";
url = "https://github.com/brandt/symlinks/archive/v${version}.tar.gz";
sha256 = "1cihrd3dap52z1msdhhgda7b7wy1l5ysfvyba8yxb3zjk0l5n417";
};

buildFlags = [ "CC=${stdenv.cc}/bin/cc" ];

installPhase = ''
mkdir -p $out/bin
mkdir -p $out/share/man
cp symlinks $out/bin/
cp symlinks.8 $out/share/man/
mkdir -p $out/bin $out/share/man/man8
cp symlinks $out/bin
cp symlinks.8 $out/share/man/man8
'';

# 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 ];
platforms = platforms.linux;
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;
};
}