nixpkgs/pkgs/tools/misc/hakuneko/default.nix

29 lines
700 B
Nix
Raw Normal View History

2016-06-20 02:59:26 +03:00
{ stdenv, fetchurl, wxGTK30, openssl, curl }:
2015-08-12 18:43:33 +03:00
stdenv.mkDerivation rec {
pname = "hakuneko";
2017-02-11 07:09:50 +03:00
version = "1.4.2";
2015-08-12 18:43:33 +03:00
src = fetchurl {
url = "mirror://sourceforge/hakuneko/hakuneko_${version}_src.tar.gz";
2017-02-11 07:09:50 +03:00
sha256 = "76a63fa05e91b082cb5a70a8abacef005354e99978ff8b1369f7aa0af7615d52";
2015-08-12 18:43:33 +03:00
};
preConfigure = ''
substituteInPlace ./configure \
--replace /bin/bash $shell
'';
2016-06-20 02:59:26 +03:00
buildInputs = [ wxGTK30 openssl curl ];
2015-08-12 18:43:33 +03:00
meta = {
description = "Manga downloader";
homepage = https://sourceforge.net/projects/hakuneko/;
2015-08-12 18:43:33 +03:00
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
# This project was abandoned upstream.
broken = true;
2015-08-12 18:43:33 +03:00
};
}