ola: 0.10.7 -> unstable-2020-07-17

This commit is contained in:
Pavol Rusnak 2020-06-22 00:37:34 +02:00
parent 7839270bb0
commit 17cac3b7ba
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -1,31 +1,43 @@
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
, libuuid, cppunit, protobuf3_1, zlib, avahi, libmicrohttpd
, perl, python36 # Replace by python3 after the next update
{ stdenv
, fetchFromGitHub
, autoreconfHook
, bison
, flex
, pkgconfig
, libuuid
, cppunit
, protobuf
, zlib
, avahi
, libmicrohttpd
, perl
, python3
}:
stdenv.mkDerivation rec {
pname = "ola";
version = "0.10.7";
version = "unstable-2020-07-17";
src = fetchFromGitHub {
owner = "OpenLightingProject";
repo = "ola";
rev = version;
sha256 = "18krwrw7w1qzwih8gnmv7r4sah5ppvq7ax65r7l5yjxn3ihwp2kf";
rev = "e2cd699c7792570500578fd092fb6bfb3d511023"; # HEAD of "0.10" branch
sha256 = "17a3z3zhx00rjk58icd3zlqfw3753f3y8bwy2sza0frdim09lqr4";
};
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
buildInputs = [ libuuid cppunit protobuf3_1 zlib avahi libmicrohttpd python36 ];
buildInputs = [ libuuid cppunit protobuf zlib avahi libmicrohttpd python3 ];
propagatedBuildInputs = [
(python36.pkgs.protobuf.override { protobuf = protobuf3_1; })
python36.pkgs.numpy
python3.pkgs.protobuf
python3.pkgs.numpy
];
configureFlags = [ "--enable-python-libs" ];
meta = with stdenv.lib; {
description = "A framework for controlling entertainment lighting equipment.";
maintainers = [ maintainers.globin ];
homepage = "https://www.openlighting.org/ola/";
maintainers = with maintainers; [ globin ];
license = with licenses; [ lgpl21 gpl2Plus ];
platforms = platforms.all;
};