From 1bbda4989c6e1f0bd1c26c78eb384b4009f8c097 Mon Sep 17 00:00:00 2001 From: Ruben Astudillo Date: Wed, 12 Aug 2015 12:43:33 -0300 Subject: [PATCH] hakuneko: init at 1.3.12 --- pkgs/tools/misc/hakuneko/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/misc/hakuneko/default.nix diff --git a/pkgs/tools/misc/hakuneko/default.nix b/pkgs/tools/misc/hakuneko/default.nix new file mode 100644 index 000000000000..a70f69c47834 --- /dev/null +++ b/pkgs/tools/misc/hakuneko/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, wxGTK, openssl, curl }: + +stdenv.mkDerivation rec { + name = "hakuneko-${version}"; + version = "1.3.12"; + + src = fetchurl { + url = "mirror://sourceforge/hakuneko/hakuneko_${version}_src.tar.gz"; + sha256 = "24e7281a7f68b24e5260ee17ecfa1c5a3ffec408c8ea6e0121ae6c161898b698"; + }; + + preConfigure = '' + substituteInPlace ./configure \ + --replace /bin/bash $shell + ''; + + buildInputs = [ wxGTK openssl curl ]; + + meta = { + description = "Manga downloader"; + homepage = http://sourceforge.net/projects/hakuneko/; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8fb8ad3dc692..47c0f1ebff61 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12873,6 +12873,8 @@ in hackrf = callPackage ../applications/misc/hackrf { }; + hakuneko = callPackage ../tools/misc/hakuneko { }; + hamster-time-tracker = callPackage ../applications/misc/hamster-time-tracker { inherit (pythonPackages) pyxdg pygtk dbus sqlite3; inherit (gnome) gnome_python;