mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
f67e1c6e50
Diff: https://github.com/HoloArchivists/twspace-dl/compare/2023.1.22.1...2023.7.24.1 Changelog: https://github.com/HoloArchivists/twspace-dl/releases/tag/2023.7.24.1
35 lines
942 B
Nix
35 lines
942 B
Nix
{ lib, python3Packages, fetchPypi, ffmpeg-headless }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "twspace-dl";
|
|
version = "2023.7.24.1";
|
|
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "twspace_dl";
|
|
sha256 = "sha256-Oq9k5Nfixf1vihhna7g3ZkqCwEtCdnvlbxIuOnGVoKE=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3Packages; [ poetry-core ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
mutagen
|
|
requests
|
|
];
|
|
|
|
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg-headless ]}" ];
|
|
|
|
pythonImportsCheck = [ "twspace_dl" ];
|
|
|
|
meta = with lib; {
|
|
description = "A python module to download twitter spaces";
|
|
homepage = "https://github.com/HoloArchivists/twspace-dl";
|
|
changelog = "https://github.com/HoloArchivists/twspace-dl/releases/tag/${version}";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ marsam ];
|
|
mainProgram = "twspace_dl";
|
|
};
|
|
}
|