nixpkgs/pkgs/tools/networking/ratools/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
683 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ratools";
version = "0.6.2";
src = fetchFromGitHub {
owner = "danrl";
repo = "ratools";
rev = "v${version}";
sha256 = "07m45bn9lzgbfihmxic23wqp73nxg5ihrvkigr450jq6gzvgwawq";
};
makeFlags = "-C src";
installPhase = ''
install -vD bin/* -t $out/bin
install -vD man/* -t $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 ];
};
}