1{ stdenv, fetchurl, pkgconfig, pure, avahi }:
2
3stdenv.mkDerivation rec {
4 baseName = "avahi";
5 version = "0.3";
6 name = "pure-${baseName}-${version}";
7
8 src = fetchurl {
9 url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
10 sha256 = "5fac8a6e3a54e45648ceb207ee0061b22eac8c4e668b8d53f13eb338b09c9160";
11 };
12
13 buildInputs = [ pkgconfig ];
14 propagatedBuildInputs = [ pure avahi ];
15 makeFlags = "libdir=$(out)/lib prefix=$(out)/";
16 setupHook = ../generic-setup-hook.sh;
17
18 meta = {
19 description = "A digital audio interface for the Pure programming language";
20 homepage = http://puredocs.bitbucket.org/pure-avahi.html;
21 license = stdenv.lib.licenses.lgpl3Plus;
22 platforms = stdenv.lib.platforms.linux;
23 maintainers = with stdenv.lib.maintainers; [ asppsa ];
24 };
25}