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

29 lines
710 B
Nix
Raw Normal View History

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