2017-11-09 04:06:35 +01:00
|
|
|
{ stdenv, fetchsvn, lame, libvorbis }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-02-10 17:27:51 +01:00
|
|
|
pname = "ebook2cw";
|
2017-11-09 04:06:35 +01:00
|
|
|
version = "0.8.2";
|
|
|
|
|
|
|
|
src = fetchsvn {
|
2019-02-10 17:27:51 +01:00
|
|
|
url = "svn://svn.fkurz.net/ebook2cw/tags/${pname}-${version}";
|
2017-11-09 04:06:35 +01:00
|
|
|
sha256 = "1mvp3nz3k76v757792n9b7fcm5jm3jcwarl1k7cila9fi0c2rsiw";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ lame libvorbis ];
|
|
|
|
|
|
|
|
patches = [ ./configfile.patch ];
|
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Convert ebooks to Morse MP3s/OGGs";
|
|
|
|
homepage = http://fkurz.net/ham/ebook2cw.html;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ earldouglas ];
|
|
|
|
};
|
|
|
|
}
|