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
43
pkgs/tools/security/haveged/default.nix
Normal file
43
pkgs/tools/security/haveged/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "haveged";
|
||||
version = "1.9.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jirka-h";
|
||||
repo = "haveged";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-uVl+TZVMsf+9aRATQndYMK4l4JfOBvstd1O2nTHyMYU=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ent # test shebang
|
||||
'';
|
||||
|
||||
installFlags = [
|
||||
"sbindir=$(out)/bin" # no reason for us to have a $out/sbin, its just a symlink to $out/bin
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple entropy daemon";
|
||||
longDescription = ''
|
||||
The haveged project is an attempt to provide an easy-to-use, unpredictable
|
||||
random number generator based upon an adaptation of the HAVEGE algorithm.
|
||||
Haveged was created to remedy low-entropy conditions in the Linux random device
|
||||
that can occur under some workloads, especially on headless servers. Current development
|
||||
of haveged is directed towards improving overall reliability and adaptability while minimizing
|
||||
the barriers to using haveged for other tasks.
|
||||
'';
|
||||
homepage = "https://github.com/jirka-h/haveged";
|
||||
changelog = "https://raw.githubusercontent.com/jirka-h/haveged/v${version}/ChangeLog";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
platforms = platforms.unix;
|
||||
badPlatforms = platforms.darwin; # fails to build since v1.9.15
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue