summary refs log tree commit diff
path: root/pkgs/development/pure-modules/avahi/default.nix
blob: 4745593cb7f8e5019ca0f9a7119b5c37713a75dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, pkgconfig, pure, avahi }:

stdenv.mkDerivation rec {
  baseName = "avahi";
  version = "0.3";
  name = "pure-${baseName}-${version}";

  src = fetchurl {
    url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
    sha256 = "5fac8a6e3a54e45648ceb207ee0061b22eac8c4e668b8d53f13eb338b09c9160";
  };

  nativeBuildInputs = [ pkgconfig ];
  propagatedBuildInputs = [ pure avahi ];
  makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
  setupHook = ../generic-setup-hook.sh;

  meta = {
    description = "A digital audio interface for the Pure programming language";
    homepage = "http://puredocs.bitbucket.org/pure-avahi.html";
    license = stdenv.lib.licenses.lgpl3Plus;
    platforms = stdenv.lib.platforms.linux;
    maintainers = with stdenv.lib.maintainers; [ asppsa ];
  };
}