summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-11 22:56:56 +0100
committerGitHub <noreply@github.com>2021-01-11 22:56:56 +0100
commit5ea525376fd0033e3553da656cdff889ac206c8d (patch)
tree5111a7f7de233a82faa541b174fc0207f63cec71 /pkgs/applications/video
parent87d2f1d2b0ad6d476113b12d2b9f91850d540655 (diff)
parent509cd74e49cfcd75bda494f32c677b018cc110a0 (diff)
downloadnixpkgs-5ea525376fd0033e3553da656cdff889ac206c8d.tar
nixpkgs-5ea525376fd0033e3553da656cdff889ac206c8d.tar.gz
nixpkgs-5ea525376fd0033e3553da656cdff889ac206c8d.tar.bz2
nixpkgs-5ea525376fd0033e3553da656cdff889ac206c8d.tar.lz
nixpkgs-5ea525376fd0033e3553da656cdff889ac206c8d.tar.xz
nixpkgs-5ea525376fd0033e3553da656cdff889ac206c8d.tar.zst
nixpkgs-5ea525376fd0033e3553da656cdff889ac206c8d.zip
Merge pull request #108951 from erictapen/sub-batch-init
sub-batch: init at 0.3.0
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/sub-batch/default.nix27
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 00000000000..244e826f0a2
--- /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;
+  };
+}