2021-01-23 17:15:07 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, pure, lv2 }:
|
2015-05-26 06:58:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "lv2";
|
|
|
|
version = "0.2";
|
|
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
|
|
|
sha256 = "721cacd831781d8309e7ecabb0ee7c01da17e75c5642a5627cf158bfb36093e1";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-05-26 06:58:18 +00:00
|
|
|
propagatedBuildInputs = [ pure lv2 ];
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
2015-05-26 06:58:18 +00:00
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A generic LV2 plugin wrapper for Pure which can be linked with batch-compiled Pure scripts to obtain LV2 plugin modules";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-lv2.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 06:58:18 +00:00
|
|
|
};
|
|
|
|
}
|