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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

59 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv
2020-06-21 23:37:34 +01:00
, fetchFromGitHub
, autoreconfHook
, bison
, flex
, pkg-config
2022-08-21 09:51:18 +01:00
, libftdi1
2020-06-21 23:37:34 +01:00
, libuuid
, cppunit
, protobuf
, zlib
, avahi
, libmicrohttpd
, perl
, python3
2017-07-19 18:00:38 +01:00
}:
stdenv.mkDerivation rec {
pname = "ola";
2024-09-05 10:05:05 +01:00
version = "0.10.9";
2017-07-19 18:00:38 +01:00
src = fetchFromGitHub {
owner = "OpenLightingProject";
repo = "ola";
2024-09-05 10:05:05 +01:00
rev = "refs/tags/${version}";
hash = "sha256-8w8ZT3D/+8Pxl9z2KTXeydVxE5xiPjxZevgmMFgrblU=";
2017-07-19 18:00:38 +01:00
};
nativeBuildInputs = [ autoreconfHook bison flex pkg-config perl ];
2022-08-21 09:51:18 +01:00
buildInputs = [
# required for ola-ftdidmx plugin (support for 'dumb' FTDI devices)
libftdi1
libuuid
cppunit
protobuf
zlib
avahi
libmicrohttpd
python3
];
propagatedBuildInputs = [
(python3.pkgs.protobuf4.override { protobuf = protobuf; })
2020-06-21 23:37:34 +01:00
python3.pkgs.numpy
];
2017-07-19 18:00:38 +01:00
configureFlags = [ "--enable-python-libs" ];
enableParallelBuilding = true;
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
description = "Framework for controlling entertainment lighting equipment";
2020-06-21 23:37:34 +01:00
homepage = "https://www.openlighting.org/ola/";
maintainers = [ ];
license = with licenses; [ lgpl21 gpl2Plus ];
2017-07-19 18:00:38 +01:00
platforms = platforms.all;
};
}