ebook2cw: Move from misc to radio and do some cleanups

This commit is contained in:
Elis Hirwing 2019-02-10 17:27:51 +01:00
parent a0f4e7a2c3
commit daee1d7a58
No known key found for this signature in database
GPG key ID: D57EFA625C9A925F
3 changed files with 3 additions and 9 deletions

View file

@ -1,12 +1,11 @@
{ stdenv, fetchsvn, lame, libvorbis }: { stdenv, fetchsvn, lame, libvorbis }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ebook2cw";
name = "ebook2cw-${version}";
version = "0.8.2"; version = "0.8.2";
src = fetchsvn { src = fetchsvn {
url = "svn://svn.fkurz.net/ebook2cw/tags/${name}"; url = "svn://svn.fkurz.net/ebook2cw/tags/${pname}-${version}";
sha256 = "1mvp3nz3k76v757792n9b7fcm5jm3jcwarl1k7cila9fi0c2rsiw"; sha256 = "1mvp3nz3k76v757792n9b7fcm5jm3jcwarl1k7cila9fi0c2rsiw";
}; };
@ -14,10 +13,6 @@ stdenv.mkDerivation rec {
patches = [ ./configfile.patch ]; patches = [ ./configfile.patch ];
postPatch = ''
substituteInPlace Makefile --replace gcc cc
'';
makeFlags = [ "DESTDIR=$(out)" ]; makeFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -27,5 +22,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ earldouglas ]; maintainers = with maintainers; [ earldouglas ];
}; };
} }

View file

@ -173,7 +173,7 @@ in
dump1090 = callPackage ../applications/misc/dump1090 { }; dump1090 = callPackage ../applications/misc/dump1090 { };
ebook2cw = callPackage ../applications/misc/ebook2cw { }; ebook2cw = callPackage ../applications/radio/ebook2cw { };
etBook = callPackage ../data/fonts/et-book { }; etBook = callPackage ../data/fonts/et-book { };