2020-11-18 16:51:47 +00:00
|
|
|
{ stdenv, fetchgit, lame, libvorbis, gettext }:
|
2017-11-09 03:06:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-02-10 16:27:51 +00:00
|
|
|
pname = "ebook2cw";
|
2020-11-18 16:51:47 +00:00
|
|
|
version = "0.8.3";
|
2017-11-09 03:06:35 +00:00
|
|
|
|
2020-11-18 16:51:47 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.fkurz.net/dj1yfk/ebook2cw.git";
|
|
|
|
rev = "${pname}-${version}";
|
|
|
|
sha256 = "0jqmnjblv3wzr0ppqzndzd8wg02nlkvzg1fqw14vyyp76sdjsh46";
|
2017-11-09 03:06:35 +00:00
|
|
|
};
|
|
|
|
|
2020-11-18 16:51:47 +00:00
|
|
|
buildInputs = [ lame libvorbis gettext ];
|
2017-11-09 03:06:35 +00:00
|
|
|
|
2020-11-18 16:51:47 +00:00
|
|
|
patches = [ ./Makefile.patch ];
|
2017-11-09 03:06:35 +00:00
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Convert ebooks to Morse MP3s/OGGs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://fkurz.net/ham/ebook2cw.html";
|
2017-11-09 03:06:35 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ earldouglas ];
|
|
|
|
};
|
|
|
|
}
|