depot/third_party/nixpkgs/pkgs/development/pure-modules/lv2/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

24 lines
834 B
Nix

{ lib, stdenv, fetchurl, pkg-config, pure, lv2 }:
stdenv.mkDerivation rec {
pname = "pure-lv2";
version = "0.2";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-lv2-${version}.tar.gz";
sha256 = "721cacd831781d8309e7ecabb0ee7c01da17e75c5642a5627cf158bfb36093e1";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure lv2 ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
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";
homepage = "http://puredocs.bitbucket.org/pure-lv2.html";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}