Merge pull request #167744 from magnetophon/lsp-plugins
lsp-plugins: 1.1.31 -> 1.2.1
This commit is contained in:
commit
2ced9a1664
1 changed files with 8 additions and 17 deletions
|
@ -1,17 +1,15 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, pkg-config, makeWrapper
|
{ lib, stdenv, fetchurl, pkg-config, makeWrapper
|
||||||
, libsndfile, jack2
|
, libsndfile, jack2
|
||||||
, libGLU, libGL, lv2, cairo
|
, libGLU, libGL, lv2, cairo
|
||||||
, ladspaH, php }:
|
, ladspaH, php }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lsp-plugins";
|
pname = "lsp-plugins";
|
||||||
version = "1.1.31";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchurl {
|
||||||
owner = "sadko4u";
|
url = "https://github.com/sadko4u/${pname}/releases/download/${version}/${pname}-src-${version}.tar.gz";
|
||||||
repo = pname;
|
sha256 = "sha256-wHibZJbrgy7t0z2rRDe1FUAG38BW/dR0JgoKVWYCn60=";
|
||||||
rev = version;
|
|
||||||
sha256 = "sha256-P1woSkenSlVUwWr3q0sNv8K2fVtTa6zWwKfSHQgg9Xw=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config php makeWrapper ];
|
nativeBuildInputs = [ pkg-config php makeWrapper ];
|
||||||
|
@ -19,22 +17,15 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=${placeholder "out"}"
|
"PREFIX=${placeholder "out"}"
|
||||||
"ETC_PATH=$(out)/etc"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-DLSP_NO_EXPERIMENTAL";
|
NIX_CFLAGS_COMPILE = "-DLSP_NO_EXPERIMENTAL";
|
||||||
|
|
||||||
doCheck = true;
|
configurePhase = ''
|
||||||
|
make config PREFIX=${placeholder "out"}
|
||||||
checkPhase = ''
|
|
||||||
runHook preCheck
|
|
||||||
TEST_PATH=$(pwd)".build-test"
|
|
||||||
make OBJDIR=$TEST_PATH test
|
|
||||||
$TEST_PATH/lsp-plugins-test utest
|
|
||||||
runHook postCheck
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildFlags = [ "release" ];
|
doCheck = true;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue