8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
32 lines
993 B
Nix
32 lines
993 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
|
|
, libuuid, cppunit, protobuf3_1, zlib, avahi, libmicrohttpd
|
|
, perl, python36 # Replace by python3 after the next update
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ola";
|
|
version = "0.10.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenLightingProject";
|
|
repo = "ola";
|
|
rev = version;
|
|
sha256 = "18krwrw7w1qzwih8gnmv7r4sah5ppvq7ax65r7l5yjxn3ihwp2kf";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
|
|
buildInputs = [ libuuid cppunit protobuf3_1 zlib avahi libmicrohttpd python36 ];
|
|
propagatedBuildInputs = [
|
|
(python36.pkgs.protobuf.override { protobuf = protobuf3_1; })
|
|
python36.pkgs.numpy
|
|
];
|
|
|
|
configureFlags = [ "--enable-python-libs" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A framework for controlling entertainment lighting equipment.";
|
|
maintainers = [ maintainers.globin ];
|
|
license = with licenses; [ lgpl21 gpl2Plus ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|