mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
ffsubsync: 0.4.25 -> 0.4.29
Diff: https://github.com/smacke/ffsubsync/compare/refs/tags/0.4.25...refs/tags/0.4.29
This commit is contained in:
parent
2b70f37c3a
commit
bd5aecad95
1 changed files with 7 additions and 16 deletions
|
@ -1,33 +1,24 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "ffsubsync";
|
||||
version = "0.4.25";
|
||||
version = "0.4.29";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smacke";
|
||||
repo = "ffsubsync";
|
||||
tag = version;
|
||||
hash = "sha256-ZdKZeKfAUe/FXLOur9Btb5RgXewmy3EHunQphqlxpIc=";
|
||||
hash = "sha256-XMFobdr/nzr5pXjz/jWa/Pp14ITdbxAce0Iz+5qcBO4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# updates for python 3.12 (not currently included in a release)
|
||||
(fetchpatch {
|
||||
url = "https://github.com/smacke/ffsubsync/commit/de75bdbfe846b3376f8c0bcfe2e5e5db82d7ff20.patch";
|
||||
hash = "sha256-JN7F9H9G8HK2aLOlm/Ec+GsWnU+65f1P658nq8FbAjo=";
|
||||
})
|
||||
];
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
dependencies = with python3.pkgs; [
|
||||
auditok
|
||||
charset-normalizer
|
||||
faust-cchardet
|
||||
|
@ -50,10 +41,10 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
pythonImportsCheck = [ "ffsubsync" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/smacke/ffsubsync";
|
||||
description = "Automagically synchronize subtitles with video";
|
||||
license = licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
mainProgram = "ffsubsync";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue