summary refs log tree commit diff
path: root/pkgs/applications/radio/ebook2cw/default.nix
blob: d273594f4c90cf98e1b6844649e814544ae90fb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchsvn, lame, libvorbis }:

stdenv.mkDerivation rec {
  pname = "ebook2cw";
  version = "0.8.2";

  src = fetchsvn {
    url = "svn://svn.fkurz.net/ebook2cw/tags/${pname}-${version}";
    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 ];
  };
}