diff options
author | Justin Humm <justin.humm@posteo.de> | 2021-01-10 10:31:25 +0100 |
---|---|---|
committer | Justin Humm <justin.humm@posteo.de> | 2021-01-11 09:14:37 +0100 |
commit | 509cd74e49cfcd75bda494f32c677b018cc110a0 (patch) | |
tree | c7f40f8735181c9ff61f52e633457beae90926d7 /pkgs/applications/video/sub-batch | |
parent | f3c1e795bb05bbbd05eefbf4e9c21a741785d8d7 (diff) |
sub-batch: init at 0.3.0
Diffstat (limited to 'pkgs/applications/video/sub-batch')
-rw-r--r-- | pkgs/applications/video/sub-batch/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/video/sub-batch/default.nix b/pkgs/applications/video/sub-batch/default.nix new file mode 100644 index 0000000000000..244e826f0a240 --- /dev/null +++ b/pkgs/applications/video/sub-batch/default.nix @@ -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; + }; +} |