2016-06-20 00:59:26 +01:00
|
|
|
{ stdenv, fetchurl, wxGTK30, openssl, curl }:
|
2015-08-12 16:43:33 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hakuneko-${version}";
|
2016-06-20 00:59:26 +01:00
|
|
|
version = "1.4.1";
|
2015-08-12 16:43:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/hakuneko/hakuneko_${version}_src.tar.gz";
|
2016-06-20 00:59:26 +01:00
|
|
|
sha256 = "d7e066e3157445f273ccf14172c05077759da036ffe700a28a409fde862b69a7";
|
2015-08-12 16:43:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace ./configure \
|
|
|
|
--replace /bin/bash $shell
|
|
|
|
'';
|
|
|
|
|
2016-06-20 00:59:26 +01:00
|
|
|
buildInputs = [ wxGTK30 openssl curl ];
|
2015-08-12 16:43:33 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Manga downloader";
|
|
|
|
homepage = http://sourceforge.net/projects/hakuneko/;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|