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/applications/misc/candle/default.nix
Normal file
32
pkgs/applications/misc/candle/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ mkDerivation, lib, fetchFromGitHub, qtbase, qtserialport, qmake }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "candle";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Denvi";
|
||||
repo = "Candle";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gpx08gdz8awbsj6lsczwgffp19z3q0r2fvm72a73qd9az29pmm0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
|
||||
sourceRoot = "source/src";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 Candle $out/bin/candle
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
buildInputs = [ qtbase qtserialport ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "GRBL controller application with G-Code visualizer written in Qt";
|
||||
homepage = "https://github.com/Denvi/Candle";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ matti-kariluoma ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue