mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
29 lines
762 B
Nix
29 lines
762 B
Nix
{ fetchurl, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "symlinks-${version}";
|
|
version = "1.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.ibiblio.org/pub/Linux/utils/file/${name}.tar.gz";
|
|
sha256 = "1683psyi8jwq6anhnkwwyaf7pfksf19v04fignd6vi52s2fnifxh";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mkdir -p $out/share/man
|
|
cp symlinks $out/bin/
|
|
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; {
|
|
description = "A symbolic link maintenance utility";
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|