Merge pull request #108951 from erictapen/sub-batch-init

sub-batch: init at 0.3.0
This commit is contained in:
Sandro 2021-01-11 22:56:56 +01:00 committed by GitHub
commit 5ea525376f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "sub-batch";
version = "0.3.0";
src = fetchFromGitHub {
owner = "kl";
repo = pname;
# Upstream doesn't tag releases.
rev = "631bd6e2d931f8a8e12798f4b6460739a14bcfff";
sha256 = "sha256-424e40v2LBxlmgDKxvsT/iuUn/IKWPKMwih0cSQ5sFE=";
};
cargoSha256 = "sha256-l+BTF9PGb8bG8QHhNCoBsrsVX8nlRjPlaea1ESFfMW0=";
meta = with stdenv.lib; {
description = "Match and rename subtitle files to video files and perform other batch operations on subtitle files";
homepage = "https://github.com/kl/sub-batch";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
broken = stdenv.isDarwin;
};
}

View file

@ -16514,6 +16514,8 @@ in
streamlink = callPackage ../applications/video/streamlink { pythonPackages = python3Packages; };
streamlink-twitch-gui-bin = callPackage ../applications/video/streamlink-twitch-gui/bin.nix {};
sub-batch = callPackage ../applications/video/sub-batch { };
subdl = callPackage ../applications/video/subdl { };
subtitleeditor = callPackage ../applications/video/subtitleeditor { enchant = enchant1; };