mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
alass: init at 2.0.0
This commit is contained in:
parent
fa4ce3a7cc
commit
09caeaeb3d
2 changed files with 35 additions and 0 deletions
33
pkgs/applications/video/alass/default.nix
Normal file
33
pkgs/applications/video/alass/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
, makeWrapper
|
||||||
|
, ffmpeg
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "alass";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kaegi";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-q1IV9TtmznpR7RO75iN0p16nmTja5ADWqFj58EOPWvU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-6CVa/ypz37bm/3R0Gi65ovu4SIwWcgVde3Z2W1R16mk=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/alass-cli" --prefix PATH : "${lib.makeBinPath [ ffmpeg ]}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Automatic Language-Agnostic Subtitle Synchronization";
|
||||||
|
homepage = "https://github.com/kaegi/alass";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ erictapen ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -13199,6 +13199,8 @@ in
|
||||||
|
|
||||||
agg = callPackage ../development/libraries/agg { };
|
agg = callPackage ../development/libraries/agg { };
|
||||||
|
|
||||||
|
alass = callPackage ../applications/video/alass { };
|
||||||
|
|
||||||
allegro = allegro4;
|
allegro = allegro4;
|
||||||
allegro4 = callPackage ../development/libraries/allegro {};
|
allegro4 = callPackage ../development/libraries/allegro {};
|
||||||
allegro5 = callPackage ../development/libraries/allegro/5.nix {};
|
allegro5 = callPackage ../development/libraries/allegro/5.nix {};
|
||||||
|
|
Loading…
Reference in a new issue