nixpkgs/pkgs/applications/misc/ola/default.nix

30 lines
918 B
Nix
Raw Normal View History

2017-07-19 17:00:38 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
, libuuid, cppunit, protobuf, zlib, avahi, libmicrohttpd
, perl, python3, python3Packages
}:
stdenv.mkDerivation rec {
name = "ola-${version}";
version = "0.10.4";
src = fetchFromGitHub {
owner = "OpenLightingProject";
repo = "ola";
rev = version;
sha256 = "1skb3dwpmsfdr8mp3rs80jmsr1bf78270d9bnd8h0pv8bkb8zvim";
};
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
buildInputs = [ libuuid cppunit protobuf zlib avahi libmicrohttpd python3 ];
propagatedBuildInputs = with python3Packages; [ protobuf3_2 numpy ];
configureFlags = [ "--enable-python-libs" ];
meta = with stdenv.lib; {
description = "A framework for controlling entertainment lighting equipment.";
maintainers = [ maintainers.globin ];
licenses = with licenses; [ lgpl21 gpl2Plus ];
platforms = platforms.all;
};
}