summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/misc/hakuneko/default.nix
blob: 8c2e7dc7451d94e3a492d6cc3cfe05ece8720cdf (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
27
28
{ stdenv, fetchurl, wxGTK30, openssl, curl }:

stdenv.mkDerivation rec {
  pname = "hakuneko";
  version = "1.4.2";

  src = fetchurl {
    url = "mirror://sourceforge/hakuneko/hakuneko_${version}_src.tar.gz";
    sha256 = "76a63fa05e91b082cb5a70a8abacef005354e99978ff8b1369f7aa0af7615d52";
  };

  preConfigure = ''
    substituteInPlace ./configure \
       --replace /bin/bash $shell
    '';

  buildInputs = [ wxGTK30 openssl curl ];

  meta = {
    description = "Manga downloader";
    homepage = https://sourceforge.net/projects/hakuneko/;
    license = stdenv.lib.licenses.mit;
    platforms = stdenv.lib.platforms.linux;

    # This project was abandoned upstream.
    broken = true;
  };
}