2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake, libsndfile, libtool, pkg-config, libuuid }:
|
2012-04-20 13:39:42 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libgig";
|
2021-05-11 22:02:34 -07:00
|
|
|
version = "4.3.0";
|
2012-04-20 13:39:42 -07:00
|
|
|
|
2017-12-08 17:32:30 -08:00
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
|
2021-05-11 22:02:34 -07:00
|
|
|
sha256 = "sha256-oG0Jh4eAxsGd2NucM1RNU6kzV/niexSpg6qrpo//p5Q=";
|
2012-04-20 13:39:42 -07:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
2012-04-20 13:39:42 -07:00
|
|
|
|
2017-12-08 17:32:30 -08:00
|
|
|
buildInputs = [ libsndfile libuuid ];
|
|
|
|
|
|
|
|
preConfigure = "make -f Makefile.svn";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2012-04-20 13:39:42 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.linuxsampler.org";
|
2012-04-20 13:39:42 -07:00
|
|
|
description = "Gigasampler file access library";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2014-03-16 04:08:26 -07:00
|
|
|
platforms = platforms.linux;
|
2012-04-20 13:39:42 -07:00
|
|
|
};
|
|
|
|
}
|