about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/video/sub-batch/default.nix
blob: 070bcc90685fc92470f4fb4acea573ce17cfd90b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, 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 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;
  };
}