2020-06-21 23:37:34 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, bison
|
|
|
|
, flex
|
|
|
|
, pkgconfig
|
|
|
|
, libuuid
|
|
|
|
, cppunit
|
|
|
|
, protobuf
|
|
|
|
, zlib
|
|
|
|
, avahi
|
|
|
|
, libmicrohttpd
|
|
|
|
, perl
|
|
|
|
, python3
|
2017-07-19 18:00:38 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ola";
|
2020-06-21 23:37:34 +01:00
|
|
|
version = "unstable-2020-07-17";
|
2017-07-19 18:00:38 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenLightingProject";
|
|
|
|
repo = "ola";
|
2020-06-21 23:37:34 +01:00
|
|
|
rev = "e2cd699c7792570500578fd092fb6bfb3d511023"; # HEAD of "0.10" branch
|
|
|
|
sha256 = "17a3z3zhx00rjk58icd3zlqfw3753f3y8bwy2sza0frdim09lqr4";
|
2017-07-19 18:00:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
|
2020-06-21 23:37:34 +01:00
|
|
|
buildInputs = [ libuuid cppunit protobuf zlib avahi libmicrohttpd python3 ];
|
2018-11-10 12:35:29 +00:00
|
|
|
propagatedBuildInputs = [
|
2020-06-21 23:37:34 +01:00
|
|
|
python3.pkgs.protobuf
|
|
|
|
python3.pkgs.numpy
|
2018-11-10 12:35:29 +00:00
|
|
|
];
|
2017-07-19 18:00:38 +01:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-python-libs" ];
|
|
|
|
|
2020-07-17 16:25:02 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-07-19 18:00:38 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A framework for controlling entertainment lighting equipment.";
|
2020-06-21 23:37:34 +01:00
|
|
|
homepage = "https://www.openlighting.org/ola/";
|
|
|
|
maintainers = with maintainers; [ globin ];
|
2017-12-05 22:20:11 +00:00
|
|
|
license = with licenses; [ lgpl21 gpl2Plus ];
|
2017-07-19 18:00:38 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|