2020-06-01 04:12:15 +02:00
|
|
|
{ rustPlatform, fetchgit, stdenv, mosquitto, cmake, openssl, ... }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "light-${version}";
|
|
|
|
version = "0.1.0";
|
|
|
|
src = fetchgit {
|
2020-06-01 14:34:23 +02:00
|
|
|
url = "https://git.ingolf-wagner.de/palo/light-control.git";
|
2020-06-05 00:15:46 +02:00
|
|
|
rev = "2009a829681c32127cc8b74dac759db566fe9599";
|
|
|
|
sha256 = "0hqrnqbzwpvgpx8sb13m89kz60pv6xgym3dhp3q56383hafijb4c";
|
2020-06-01 04:12:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "1yzkbj36sx4vc8dsgcxahrvn33ci2ad1cpd1shcismw33k63rimh";
|
|
|
|
#verifyCargoDeps = true;
|
|
|
|
|
|
|
|
buildInputs = [ mosquitto openssl cmake ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|