mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
ola: 0.10.7 -> unstable-2020-07-17
This commit is contained in:
parent
7839270bb0
commit
17cac3b7ba
|
@ -1,31 +1,43 @@
|
||||||
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
|
{ stdenv
|
||||||
, libuuid, cppunit, protobuf3_1, zlib, avahi, libmicrohttpd
|
, fetchFromGitHub
|
||||||
, perl, python36 # Replace by python3 after the next update
|
, autoreconfHook
|
||||||
|
, bison
|
||||||
|
, flex
|
||||||
|
, pkgconfig
|
||||||
|
, libuuid
|
||||||
|
, cppunit
|
||||||
|
, protobuf
|
||||||
|
, zlib
|
||||||
|
, avahi
|
||||||
|
, libmicrohttpd
|
||||||
|
, perl
|
||||||
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ola";
|
pname = "ola";
|
||||||
version = "0.10.7";
|
version = "unstable-2020-07-17";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OpenLightingProject";
|
owner = "OpenLightingProject";
|
||||||
repo = "ola";
|
repo = "ola";
|
||||||
rev = version;
|
rev = "e2cd699c7792570500578fd092fb6bfb3d511023"; # HEAD of "0.10" branch
|
||||||
sha256 = "18krwrw7w1qzwih8gnmv7r4sah5ppvq7ax65r7l5yjxn3ihwp2kf";
|
sha256 = "17a3z3zhx00rjk58icd3zlqfw3753f3y8bwy2sza0frdim09lqr4";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
|
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
|
||||||
buildInputs = [ libuuid cppunit protobuf3_1 zlib avahi libmicrohttpd python36 ];
|
buildInputs = [ libuuid cppunit protobuf zlib avahi libmicrohttpd python3 ];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
(python36.pkgs.protobuf.override { protobuf = protobuf3_1; })
|
python3.pkgs.protobuf
|
||||||
python36.pkgs.numpy
|
python3.pkgs.numpy
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [ "--enable-python-libs" ];
|
configureFlags = [ "--enable-python-libs" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A framework for controlling entertainment lighting equipment.";
|
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 ];
|
license = with licenses; [ lgpl21 gpl2Plus ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue