mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
d8046322a9
svn path=/nixpkgs/trunk/; revision=9225
22 lines
564 B
Nix
22 lines
564 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "netselect-0.3";
|
|
|
|
src = fetchurl {
|
|
url = http://alumnit.ca/~apenwarr/netselect/netselect-0.3.tar.gz;
|
|
sha256 = "0y69z59vylj9x9nk5jqn6ihx7dkzg09gpv2w1q1rs8fmi4jr90gy";
|
|
};
|
|
|
|
preBuild = "
|
|
makeFlagsArray=(PREFIX=$out)
|
|
substituteInPlace Makefile --replace '-o root' '' --replace '-g root' ''
|
|
";
|
|
|
|
meta = {
|
|
homepage = http://alumnit.ca/~apenwarr/netselect/;
|
|
description = "An ultrafast intelligent parallelizing binary-search implementation of \"ping\"";
|
|
license = "BSD";
|
|
};
|
|
}
|