nixos-config/pkgs/light-control/default.nix

25 lines
714 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 = "180200b6085291834079322fc63c5220cac28e43";
sha256 = "0dwf6dvpgrkpgaba4ayb0z6qjk8wjmp38y5viiq7hbjg5wcbr9qf";
};
cargoSha256 = "1yzkbj36sx4vc8dsgcxahrvn33ci2ad1cpd1shcismw33k63rimh";
#verifyCargoDeps = true;
buildInputs = [ mosquitto openssl cmake ];
meta = with stdenv.lib; {
description = "write me";
homepage = "https://foo";
license = licenses.gpl3;
maintainers = [ maintainers.mrVanDalo ];
platforms = platforms.all;
};
}