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
32
pkgs/tools/system/daemon/default.nix
Normal file
32
pkgs/tools/system/daemon/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchurl, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "daemon";
|
||||
version = "0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://libslack.org/daemon/download/daemon-${version}.tar.gz";
|
||||
sha256 = "sha256-dPEubUs8hWMkib0IQx09mXvBcmS/V7cgI4Ty6AnP9ZY=";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Turns other processes into daemons";
|
||||
longDescription = ''
|
||||
Daemon turns other process into daemons. There are many tasks that need
|
||||
to be performed to correctly set up a daemon process. This can be tedious.
|
||||
Daemon performs these tasks for other processes. This is useful for
|
||||
writing daemons in languages other than C, C++ or Perl (e.g. /bin/sh,
|
||||
Java).
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.sander ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue