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
23
pkgs/tools/system/idle3tools/default.nix
Normal file
23
pkgs/tools/system/idle3tools/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{lib, stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "idle3-tools";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/idle3-tools/idle3-tools-${version}.tgz";
|
||||
sha256 = "00ia7xq9yldxyl9gz0mr4xa568nav14p0fnv82f2rbbkg060cy4p";
|
||||
};
|
||||
|
||||
preInstall = ''
|
||||
installFlags=DESTDIR=$out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://idle3-tools.sourceforge.net/";
|
||||
description = "Tool to get/set the infamous idle3 timer in WD HDDs";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue