Skip to content
Permalink
Browse files

knxd: 0.14.25

  • Loading branch information
peterhoeg committed Oct 30, 2018
1 parent 45a419a commit b287077dc0ddac71cabda1d9c56236aa9c7bb4da
Showing with 39 additions and 0 deletions.
  1. +37 −0 pkgs/servers/knxd/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
@@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, autoreconfHook, perl, pkgconfig
, fmt, libev, libusb, systemd }:

stdenv.mkDerivation rec {
name = "knxd-${version}";
version = "0.14.25";

src = fetchFromGitHub {
owner = "knxd";
repo = "knxd";
rev = "v${version}";
sha256 = "1cawzswms0kk52l2bhkrzrmk6bki7g4zz9yajly8gddin8mkcavg";
};

postPatch = ''
for f in src/client/{cs,java,php}/Makefile.am ; do
substituteInPlace $f --replace /bin/true true
done
export SYSTEMD_DIR=$out/lib/systemd/system
export SYSTEMD_MODULES_LOAD=$out/lib/modules-load.d
export SYSTEMD_SYSUSERS_DIR=$out/lib/sysusers.d
'';

buildInputs = [ fmt libev libusb systemd ];

nativeBuildInputs = [ autoreconfHook perl pkgconfig ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
homepage = https://home-assistant.io/;
description = "Open-source home automation platform running on Python 3";
license = licenses.asl20;
maintainers = with maintainers; [ f-breidenstein dotlambda ];
};
}
@@ -13220,6 +13220,8 @@ with pkgs;

jetty = callPackage ../servers/http/jetty { };

knxd = callPackage ../servers/knxd { };

knot-dns = callPackage ../servers/dns/knot-dns { };
knot-resolver = callPackage ../servers/dns/knot-resolver { };

0 comments on commit b287077

Please sign in to comment.
You can’t perform that action at this time.