1{ lib, stdenv, fetchurl, autoconf, automake, libsndfile, libtool, pkg-config, libuuid }:
2
3stdenv.mkDerivation rec {
4 pname = "libgig";
5 version = "4.3.0";
6
7 src = fetchurl {
8 url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-oG0Jh4eAxsGd2NucM1RNU6kzV/niexSpg6qrpo//p5Q=";
10 };
11
12 nativeBuildInputs = [ autoconf automake libtool pkg-config ];
13
14 buildInputs = [ libsndfile libuuid ];
15
16 preConfigure = "make -f Makefile.svn";
17
18 enableParallelBuilding = true;
19
20 meta = with lib; {
21 homepage = "http://www.linuxsampler.org";
22 description = "Gigasampler file access library";
23 license = licenses.gpl2;
24 maintainers = [ maintainers.goibhniu ];
25 platforms = platforms.linux;
26 };
27}