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

26 lines
646 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 {
name = "hakuneko-${version}";
2016-06-20 02:59:26 +03:00
version = "1.4.1";
2015-08-12 18:43:33 +03:00
src = fetchurl {
url = "mirror://sourceforge/hakuneko/hakuneko_${version}_src.tar.gz";
2016-06-20 02:59:26 +03:00
sha256 = "d7e066e3157445f273ccf14172c05077759da036ffe700a28a409fde862b69a7";
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 = http://sourceforge.net/projects/hakuneko/;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
};
}