mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
33 lines
801 B
Nix
33 lines
801 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ratools-${version}";
|
|
version = "0.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "danrl";
|
|
repo = "ratools";
|
|
rev = "v${version}";
|
|
sha256 = "07m45bn9lzgbfihmxic23wqp73nxg5ihrvkigr450jq6gzvgwawq";
|
|
};
|
|
|
|
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
|
|
|
|
makeFlags = "-C src";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/{bin,sbin,share/man/man8}
|
|
cp bin/ractl $out/bin
|
|
cp bin/rad $out/sbin
|
|
cp man/* $out/share/man/man8
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A fast, dynamic, multi-threading framework for IPv6 Router Advertisements";
|
|
homepage = https://github.com/danrl/ratools;
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.fpletz ];
|
|
};
|
|
}
|