diff options
author | Robin Gloster <mail@glob.in> | 2017-07-19 19:00:38 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-08-04 02:06:01 +0200 |
commit | 5b3e403eca517a090f1d98c4cd504762257276a8 (patch) | |
tree | 69ab5316262c73cdd999755345d2e6ab1f294709 /pkgs/applications/misc/ola | |
parent | 3badb0486659cc3af14ce307e68983874fc8b0da (diff) |
ola: init at 0.10.4
Diffstat (limited to 'pkgs/applications/misc/ola')
-rw-r--r-- | pkgs/applications/misc/ola/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/misc/ola/default.nix b/pkgs/applications/misc/ola/default.nix new file mode 100644 index 0000000000000..b6d2a1cd20ba4 --- /dev/null +++ b/pkgs/applications/misc/ola/default.nix @@ -0,0 +1,29 @@ +{ 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; + }; +} |