3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #33161 from markuskowa/minimodem-pr

minimodem: 0.19->0.24
This commit is contained in:
adisbladis 2017-12-29 18:12:59 +08:00 committed by GitHub
commit 8b7654a67e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,29 @@
{ stdenv, fetchurl, pkgconfig, fftw, fftwSinglePrec, alsaLib, libsndfile, libpulseaudio }:
{ stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, libtool
, fftw, fftwSinglePrec, alsaLib, libsndfile, libpulseaudio
}:
stdenv.mkDerivation rec {
version = "0.19";
version = "0.24-1";
pname = "minimodem";
name = "${pname}-${version}";
src = fetchurl {
url = "http://www.whence.com/${pname}/${name}.tar.gz";
sha256 = "003xyqjq59wcjafrdv1b8w34xsn4nvzz51wwd7mqddajh0g4dz4g";
src = fetchFromGitHub {
owner = "kamalmostafa";
repo = "minimodem";
rev = "${pname}-${version}";
sha256 = "1b5xy36fjcp7vkp115dpx4mlmqg2fc7xvxdy648fb8im953bw7ql";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig autoconf automake libtool ];
buildInputs = [ fftw fftwSinglePrec alsaLib libsndfile libpulseaudio ];
preConfigure = ''
aclocal \
&& autoheader \
&& automake --gnu --add-missing \
&& autoconf
'';
meta = {
description = "General-purpose software audio FSK modem";
longDescription = ''
@ -28,3 +39,4 @@ stdenv.mkDerivation rec {
maintainers = with stdenv.lib.maintainers; [ relrod ];
};
}