mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +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,
|
lib,
|
||||||
fetchFromGitHub,
|
|
||||||
fetchpatch,
|
|
||||||
python3,
|
python3,
|
||||||
|
fetchFromGitHub,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "ffsubsync";
|
pname = "ffsubsync";
|
||||||
version = "0.4.25";
|
version = "0.4.29";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "smacke";
|
owner = "smacke";
|
||||||
repo = "ffsubsync";
|
repo = "ffsubsync";
|
||||||
tag = version;
|
tag = version;
|
||||||
hash = "sha256-ZdKZeKfAUe/FXLOur9Btb5RgXewmy3EHunQphqlxpIc=";
|
hash = "sha256-XMFobdr/nzr5pXjz/jWa/Pp14ITdbxAce0Iz+5qcBO4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
build-system = with python3.pkgs; [ setuptools ];
|
||||||
# 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=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [ setuptools ];
|
dependencies = with python3.pkgs; [
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
|
||||||
auditok
|
auditok
|
||||||
charset-normalizer
|
charset-normalizer
|
||||||
faust-cchardet
|
faust-cchardet
|
||||||
|
@ -50,10 +41,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
pythonImportsCheck = [ "ffsubsync" ];
|
pythonImportsCheck = [ "ffsubsync" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://github.com/smacke/ffsubsync";
|
homepage = "https://github.com/smacke/ffsubsync";
|
||||||
description = "Automagically synchronize subtitles with video";
|
description = "Automagically synchronize subtitles with video";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
mainProgram = "ffsubsync";
|
mainProgram = "ffsubsync";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue