nixos-config/pkgs/light-control/default.nix
2020-06-03 01:03:15 +02:00

24 lines
791 B
Nix

{ rustPlatform, fetchgit, stdenv, mosquitto, cmake, openssl, ... }:
rustPlatform.buildRustPackage rec {
name = "light-${version}";
version = "0.1.0";
src = fetchgit {
url = "https://git.ingolf-wagner.de/palo/light-control.git";
rev = "af6f9f78180af24f329736f04bda07cf90ab98c9";
sha256 = "0yc5chl3pfx91rr59ngjfj0dahipjc0jkclxs2w0fg1j5aknxinc";
};
cargoSha256 = "1yzkbj36sx4vc8dsgcxahrvn33ci2ad1cpd1shcismw33k63rimh";
#verifyCargoDeps = true;
buildInputs = [ mosquitto openssl cmake ];
meta = with stdenv.lib; {
description = "light control over mqtt, with scenes and room tracking";
homepage = "https://github.com/mrVanDalo/light-control";
license = licenses.gpl3;
maintainers = [ maintainers.mrVanDalo ];
platforms = platforms.all;
};
}