diff options
author | Jonathan Queiroz <github@johnjq.com> | 2018-08-23 18:07:20 -0300 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-08-23 23:07:20 +0200 |
commit | 847291228f9928e824399f0d99bc9de190ac38fc (patch) | |
tree | dc18a593f11d541acbbc70cc126065838aa6b0ae /pkgs/tools/misc/subberthehut | |
parent | d5e2f91ec8411b3ca981698d53b12982c93533c5 (diff) | |
download | nixlib-847291228f9928e824399f0d99bc9de190ac38fc.tar nixlib-847291228f9928e824399f0d99bc9de190ac38fc.tar.gz nixlib-847291228f9928e824399f0d99bc9de190ac38fc.tar.bz2 nixlib-847291228f9928e824399f0d99bc9de190ac38fc.tar.lz nixlib-847291228f9928e824399f0d99bc9de190ac38fc.tar.xz nixlib-847291228f9928e824399f0d99bc9de190ac38fc.tar.zst nixlib-847291228f9928e824399f0d99bc9de190ac38fc.zip |
subberthehut: init at 20 (#45366)
Diffstat (limited to 'pkgs/tools/misc/subberthehut')
-rw-r--r-- | pkgs/tools/misc/subberthehut/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/subberthehut/default.nix b/pkgs/tools/misc/subberthehut/default.nix new file mode 100644 index 000000000000..e5cc5ad4198f --- /dev/null +++ b/pkgs/tools/misc/subberthehut/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, pkgconfig, xmlrpc_c, glib, zlib }: +stdenv.mkDerivation rec { + name = "subberthehut-${version}"; + version = "20"; + + src = fetchFromGitHub { + owner = "mus65"; + repo = "subberthehut"; + rev = version; + sha256 = "19prdqbk19h0wak318g2jn1mnfm7l7f83a633bh0rhskysmqrsj1"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ xmlrpc_c glib zlib ]; + + installPhase = '' + install -Dm755 subberthehut $out/bin/subberthehut + install -Dm644 bash_completion $out/share/bash-completion/completions/subberthehut + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/mus65/subberthehut; + description = "An OpenSubtitles.org downloader"; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ jqueiroz ]; + }; +} |