mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-13 10:49:56 +00:00
sub-batch: 1.0.1 -> 2.0.2 (#560792)
This commit is contained in:
@@ -14658,6 +14658,12 @@
|
||||
githubId = 56224949;
|
||||
name = "Mia Kanashi";
|
||||
};
|
||||
kangazero = {
|
||||
name = "Samuel Wai Weng Yong";
|
||||
email = "samuelyongw@gmail.com";
|
||||
github = "KangaZero";
|
||||
githubId = 107836643;
|
||||
};
|
||||
kaptcha0 = {
|
||||
name = "J'C Kabunga";
|
||||
github = "kaptcha0";
|
||||
|
||||
@@ -3,26 +3,40 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "sub-batch";
|
||||
version = "1.0.1";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kl";
|
||||
repo = "sub-batch";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-TOcK+l65iKON1kgBE4DYV/BXACnvqPCshavnVdpnGH4=";
|
||||
sha256 = "sha256-L8Nw2HavLxwbJZ8WzrtJKZxfP77HCsVef9WrdhbdpqQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-eT4u/IHj+yqeLQZ7E4cWAJFMT503zHq7HYyIhsoaj6s=";
|
||||
cargoHash = "sha256-sqXVlihZWEIP/Ea0kEtoyaLct9v0pWRq0imf+6cH8TM=";
|
||||
|
||||
checkFlags = [
|
||||
# requires alass-cli / alass which is not packaged in nixpkgs
|
||||
"--skip=can_run_alass_on_sub_file"
|
||||
"--skip=can_show_confirm_without_panicking"
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Match and rename subtitle files to video files and perform other batch operations on subtitle files";
|
||||
changelog = "https://github.com/kl/sub-batch/blob/v${finalAttrs.version}/CHANGELOG";
|
||||
homepage = "https://github.com/kl/sub-batch";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ erictapen ];
|
||||
maintainers = with lib.maintainers; [
|
||||
erictapen
|
||||
kangazero
|
||||
];
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
mainProgram = "sub-batch";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user