2020-06-01 04:12:15 +02:00
|
|
|
{ rustPlatform, fetchgit, stdenv, mosquitto, cmake, openssl, ... }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "light-${version}";
|
2020-07-12 02:59:39 +02:00
|
|
|
version = "2.1.0";
|
2020-06-01 04:12:15 +02:00
|
|
|
src = fetchgit {
|
2020-06-01 14:34:23 +02:00
|
|
|
url = "https://git.ingolf-wagner.de/palo/light-control.git";
|
2020-07-12 02:59:39 +02:00
|
|
|
rev = "6cce678572815aac8d6f78be2ee5177f07e133bd";
|
|
|
|
sha256 = "1bnxvgaa58hga20ywgk728aj4wll2rhxgrdp477d2d8isifvij4v";
|
2020-06-01 04:12:15 +02:00
|
|
|
};
|
|
|
|
|
2020-11-22 01:58:32 +01:00
|
|
|
cargoSha256 = "1hhgk3mpmd143d3kfhxsaz2y5aksnwiz1bh4396hh0j7j4kqbgrw";
|
|
|
|
#cargoSha256 = "05mm82hdbs36p6mr4qdpip16phg28r44lbni09x48qni81dbw3wx";
|
2020-06-01 04:12:15 +02:00
|
|
|
#verifyCargoDeps = true;
|
|
|
|
|
2020-07-12 03:45:00 +02:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ mosquitto openssl ];
|
2020-06-01 04:12:15 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-06-03 01:03:15 +02:00
|
|
|
description = "light control over mqtt, with scenes and room tracking";
|
|
|
|
homepage = "https://github.com/mrVanDalo/light-control";
|
2020-06-01 04:12:15 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.mrVanDalo ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|