forked from mirrors/nixpkgs
29 lines
734 B
Nix
29 lines
734 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
with stdenv.lib;
|
|
stdenv.mkDerivation rec {
|
|
name = "gsm-${version}";
|
|
version = "1.0.13";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.quut.com/gsm/${name}.tar.gz";
|
|
sha256 = "1bcjl2h60gvr1dc5a963h3vnz9zl6n8qrfa3qmb2x3229lj1iiaj";
|
|
};
|
|
|
|
preConfigure = ''
|
|
sed -e 's,$(GSM_INSTALL_ROOT)/inc,$(GSM_INSTALL_ROOT)/includes,' -i Makefile
|
|
mkdir -p "$out/"{bin,lib,man/man1,man/man3,include}
|
|
makeFlags="$makeFlags INSTALL_ROOT=$out"
|
|
'';
|
|
|
|
parallelBuild = false;
|
|
|
|
meta = {
|
|
description = "Lossy speech compression codec";
|
|
homepage = http://www.quut.com/gsm/;
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ codyopel raskin ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|