1 { lib, stdenv, fetchFromGitHub, pkg-config, xmlrpc_c, glib, zlib }:
2 stdenv.mkDerivation rec {
3 pname = "subberthehut";
6 src = fetchFromGitHub {
10 sha256 = "19prdqbk19h0wak318g2jn1mnfm7l7f83a633bh0rhskysmqrsj1";
13 nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ xmlrpc_c glib zlib ];
17 install -Dm755 subberthehut $out/bin/subberthehut
18 install -Dm644 bash_completion $out/share/bash-completion/completions/subberthehut
22 homepage = "https://github.com/mus65/subberthehut";
23 description = "An OpenSubtitles.org downloader";
24 license = licenses.gpl2;
25 platforms = platforms.linux;
26 maintainers = with maintainers; [ jqueiroz ];