depot/third_party/nixpkgs/pkgs/applications/radio/ebook2cw/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

26 lines
672 B
Nix

{ lib, 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 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 ];
};
}