python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / subberthehut / default.nix
blobb9698e1e53642f0dbf41025a060ed608635e7467
1 { lib, stdenv, fetchFromGitHub, pkg-config, xmlrpc_c, glib, zlib }:
2 stdenv.mkDerivation rec {
3   pname = "subberthehut";
4   version = "20";
6   src = fetchFromGitHub {
7     owner  = "mus65";
8     repo   = "subberthehut";
9     rev    = version;
10     sha256 = "19prdqbk19h0wak318g2jn1mnfm7l7f83a633bh0rhskysmqrsj1";
11   };
13   nativeBuildInputs = [ pkg-config ];
14   buildInputs = [ xmlrpc_c glib zlib ];
16   installPhase = ''
17     install -Dm755 subberthehut $out/bin/subberthehut
18     install -Dm644 bash_completion $out/share/bash-completion/completions/subberthehut
19   '';
21   meta = with lib; {
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 ];
27   };