2021-01-23 17:15:07 +00:00
|
|
|
|
{ lib, stdenv, fetchurl, pkg-config, pure, liblo }:
|
2015-05-26 07:58:18 +01:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
baseName = "liblo";
|
|
|
|
|
version = "0.9";
|
|
|
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
|
|
|
|
sha256 = "c2ba4d6f94489acf8a8fac73982ae03d5ad4113146eb1f7d6558a956c57cb8ee";
|
|
|
|
|
};
|
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-05-26 07:58:18 +01:00
|
|
|
|
propagatedBuildInputs = [ pure liblo ];
|
2019-10-27 13:03:25 +00:00
|
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
2015-05-26 07:58:18 +01:00
|
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A quick and dirty Pure wrapper for the liblo library, which implements Berkeley’s Open Sound Control (OSC) protocol";
|
2020-04-01 02:11:51 +01:00
|
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-liblo.html";
|
2021-01-23 17:15:07 +00:00
|
|
|
|
license = lib.licenses.lgpl3Plus;
|
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
|
maintainers = with lib.maintainers; [ asppsa ];
|
2015-05-26 07:58:18 +01:00
|
|
|
|
};
|
|
|
|
|
}
|