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

26 lines
647 B
Nix
Raw Normal View History

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}";
2017-02-11 04:09:50 +00:00
version = "1.4.2";
2015-08-12 16:43:33 +01:00
src = fetchurl {
url = "mirror://sourceforge/hakuneko/hakuneko_${version}_src.tar.gz";
2017-02-11 04:09:50 +00:00
sha256 = "76a63fa05e91b082cb5a70a8abacef005354e99978ff8b1369f7aa0af7615d52";
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 = https://sourceforge.net/projects/hakuneko/;
2015-08-12 16:43:33 +01:00
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
};
}