2017-07-19 17:00:38 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
|
2017-09-08 18:24:14 +00:00
|
|
|
, libuuid, cppunit, protobuf3_1, zlib, avahi, libmicrohttpd
|
2017-07-19 17:00:38 +00:00
|
|
|
, perl, python3, python3Packages
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ola-${version}";
|
2017-08-12 15:13:33 +00:00
|
|
|
version = "0.10.5";
|
2017-07-19 17:00:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenLightingProject";
|
|
|
|
repo = "ola";
|
|
|
|
rev = version;
|
2017-08-12 15:13:33 +00:00
|
|
|
sha256 = "1296iiq8fxbvv8sghpj3nambfmixps48dd77af0gpwf7hmjjm8al";
|
2017-07-19 17:00:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
|
2017-09-08 18:24:14 +00:00
|
|
|
buildInputs = [ libuuid cppunit protobuf3_1 zlib avahi libmicrohttpd python3 ];
|
|
|
|
propagatedBuildInputs = [ python3Packages.protobuf3_1 python3Packages.numpy ];
|
2017-07-19 17:00:38 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-python-libs" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A framework for controlling entertainment lighting equipment.";
|
|
|
|
maintainers = [ maintainers.globin ];
|
2017-12-05 22:20:11 +00:00
|
|
|
license = with licenses; [ lgpl21 gpl2Plus ];
|
2017-07-19 17:00:38 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|