2021-01-23 17:15:07 +00:00
|
|
|
|
{ lib, stdenv, fetchurl, pkg-config, pure, lilv, lv2, serd, sord, sratom }:
|
2015-05-26 07:58:18 +01:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
baseName = "lilv";
|
|
|
|
|
version = "0.4";
|
|
|
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
|
|
|
|
sha256 = "af20982fe43e8dce62d50bf7a78e461ab36c308325b123cddbababf0d3beaf9f";
|
|
|
|
|
};
|
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-05-26 07:58:18 +01:00
|
|
|
|
propagatedBuildInputs = [ pure lilv lv2 serd sord sratom ];
|
2019-10-27 13:03:25 +00:00
|
|
|
|
makeFlags = [ "CFLAGS=-I${lilv}/include/lilv-0" "libdir=$(out)/lib" "prefix=$(out)/" ];
|
2015-05-26 07:58:18 +01:00
|
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Pure module for David Robillard’s Lilv, a library for LV2 plugin host writers";
|
2020-04-01 02:11:51 +01:00
|
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-lilv.html";
|
2021-01-23 17:15:07 +00:00
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
|
maintainers = with lib.maintainers; [ asppsa ];
|
2015-05-26 07:58:18 +01:00
|
|
|
|
};
|
|
|
|
|
}
|