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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
722 B
Nix
Raw Normal View History

2021-01-15 06:42:41 +01:00
{ lib, stdenv, fetchFromGitHub, python3 }:
2017-12-26 19:39:45 +01:00
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
pname = "subdl";
version = "unstable-2017-11.06";
2017-12-26 19:39:45 +01:00
src = fetchFromGitHub {
owner = "alexanderwink";
repo = "subdl";
rev = "4cf5789b11f0ff3f863b704b336190bf968cd471";
sha256 = "0kmk5ck1j49q4ww0lvas2767kwnzhkq0vdwkmjypdx5zkxz73fn8";
};
buildInputs = [ python3 ];
installPhase = ''
install -vD subdl $out/bin/subdl
'';
2017-12-26 19:39:45 +01:00
meta = {
homepage = "https://github.com/alexanderwink/subdl";
2017-12-26 19:39:45 +01:00
description = "A command-line tool to download subtitles from opensubtitles.org";
2021-01-15 06:42:41 +01:00
platforms = lib.platforms.all;
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.exfalso ];
2023-11-27 02:17:53 +01:00
mainProgram = "subdl";
2017-12-26 19:39:45 +01:00
};
}