nixpkgs/pkgs/applications/video/subdl/default.nix

27 lines
695 B
Nix
Raw Normal View History

2017-12-26 18:39:45 +00:00
{ stdenv, fetchFromGitHub, python3 }:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
2018-02-06 21:30:36 +00:00
name = "subdl-0.0pre.2017.11.06";
2017-12-26 18:39:45 +00:00
src = fetchFromGitHub {
owner = "alexanderwink";
repo = "subdl";
rev = "4cf5789b11f0ff3f863b704b336190bf968cd471";
sha256 = "0kmk5ck1j49q4ww0lvas2767kwnzhkq0vdwkmjypdx5zkxz73fn8";
};
meta = {
homepage = "https://github.com/alexanderwink/subdl";
2017-12-26 18:39:45 +00:00
description = "A command-line tool to download subtitles from opensubtitles.org";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.exfalso ];
};
buildInputs = [ python3 ];
installPhase = ''
install -vD subdl $out/bin/subdl
'';
}