liblscp: 0.9.4 -> 1.0.0
This commit is contained in:
@@ -1,17 +1,30 @@
|
||||
{ lib, stdenv, fetchurl, autoconf, automake, libtool, pkg-config }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
cmake,
|
||||
pkg-config,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "liblscp";
|
||||
version = "0.9.4";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-8+3qHgIv32wfNHHggXID1W8M7pTqji4bHNGob3DTkho=";
|
||||
sha256 = "sha256-ZaPfB3Veg1YCBHieoK9fFqL0tB4PiNsY81oJmn2rd/I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
||||
postPatch = ''
|
||||
# fix prefix to only appear once
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail '"''${CONFIG_PREFIX}/' '"'
|
||||
'';
|
||||
|
||||
preConfigure = "make -f Makefile.git";
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user