add skytraq-logger
This commit is contained in:
parent
393cfd1a01
commit
42e1e5f76a
|
@ -13,6 +13,7 @@ in
|
||||||
nodemcu-uploader = callPackage ./nodemcu-uploader {};
|
nodemcu-uploader = callPackage ./nodemcu-uploader {};
|
||||||
tw-upload-plugin = callPackage ./tw-upload-plugin {};
|
tw-upload-plugin = callPackage ./tw-upload-plugin {};
|
||||||
inherit (callPackage ./devpi {}) devpi-web devpi-server;
|
inherit (callPackage ./devpi {}) devpi-web devpi-server;
|
||||||
|
skytraq-logger = callPackage ./skytraq-logger/ {};
|
||||||
taskserver = callPackage ./taskserver {};
|
taskserver = callPackage ./taskserver {};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
31
5pkgs/skytraq-logger/default.nix
Normal file
31
5pkgs/skytraq-logger/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenv, lib, pkgs, fetchFromGitHub, ... }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "skytraq-datalogger-${version}";
|
||||||
|
version = "4966a8";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "makefu";
|
||||||
|
repo = "skytraq-datalogger";
|
||||||
|
rev = version ;
|
||||||
|
sha256 = "1qaszrs7638kc9x4qq4m1yxqmk8jw7wajywvdk4wc2i007p89v3y";
|
||||||
|
};
|
||||||
|
buildFlags = "CC=gcc";
|
||||||
|
makeFlags = "PREFIX=bin/ DESTDIR=$(out)";
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
'';
|
||||||
|
#patchPhase = ''
|
||||||
|
# sed -i -e 's#/usr/bin/gcc#gcc#' -e Makefile
|
||||||
|
#'';
|
||||||
|
|
||||||
|
buildInputs = with pkgs;[
|
||||||
|
curl
|
||||||
|
gnugrep
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://github.com/makefu/skytraq-datalogger;
|
||||||
|
description = "datalogger for skytraq";
|
||||||
|
license = lib.licenses.gpl2;
|
||||||
|
};
|
||||||
|
}
|
1
5pkgs/skytraq-logger/result
Symbolic link
1
5pkgs/skytraq-logger/result
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/xpwdwpw2nkgi16yhpxin2kivaz7z588h-skytraq-datalogger-4966a8
|
Loading…
Reference in a new issue