uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
37
pkgs/tools/networking/httperf/default.nix
Normal file
37
pkgs/tools/networking/httperf/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "httperf";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = pname;
|
||||
rev = "3209c7f9b15069d4b79079e03bafba5b444569ff";
|
||||
sha256 = "0p48z9bcpdjq3nsarl26f0xbxmqgw42k5qmfy8wv5bcrz6b3na42";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
propagatedBuildInputs = [ openssl ];
|
||||
|
||||
configurePhase = ''
|
||||
autoreconf -i
|
||||
mkdir -pv build
|
||||
cd build
|
||||
../configure
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -vp $out/bin
|
||||
mv -v src/httperf $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The httperf HTTP load generator";
|
||||
homepage = "https://github.com/httperf/httperf";
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue