aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/radio/ebook2cw/default.nix
blob: 5bd9e47ab716347ffbb91bcd83d92511932d4169 (plain)
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
26
{ stdenv, fetchgit, lame, libvorbis, gettext }:

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

  src = fetchgit {
    url = "https://git.fkurz.net/dj1yfk/ebook2cw.git";
    rev = "${pname}-${version}";
    sha256 = "0jqmnjblv3wzr0ppqzndzd8wg02nlkvzg1fqw14vyyp76sdjsh46";
  };

  buildInputs = [ lame libvorbis gettext ];

  patches = [ ./Makefile.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 ];
  };
}