@@ -0,0 +1,29 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
2+, libuuid, cppunit, protobuf, zlib, avahi, libmicrohttpd
3+, perl, python3, python3Packages
4+}:
5+
6+stdenv.mkDerivation rec {
7+ name = "ola-${version}";
8+ version = "0.10.4";
9+
10+ src = fetchFromGitHub {
11+ owner = "OpenLightingProject";
12+ repo = "ola";
13+ rev = version;
14+ sha256 = "1skb3dwpmsfdr8mp3rs80jmsr1bf78270d9bnd8h0pv8bkb8zvim";
15+ };
16+
17+ nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
18+ buildInputs = [ libuuid cppunit protobuf zlib avahi libmicrohttpd python3 ];
19+ propagatedBuildInputs = with python3Packages; [ protobuf3_2 numpy ];
20+
21+ configureFlags = [ "--enable-python-libs" ];
22+
23+ meta = with stdenv.lib; {
24+ description = "A framework for controlling entertainment lighting equipment.";
25+ maintainers = [ maintainers.globin ];
26+ licenses = with licenses; [ lgpl21 gpl2Plus ];
27+ platforms = platforms.all;
28+ };
29+}