a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
32 lines
842 B
Nix
32 lines
842 B
Nix
{ lib, python3Packages, ffmpeg }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "twspace-dl";
|
|
version = "2023.1.22.1";
|
|
|
|
format = "pyproject";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit version;
|
|
pname = "twspace_dl";
|
|
sha256 = "050e78b4583374351c288114e3b01ab34b0b19ad2d4971d15c5519521cf3f2f4";
|
|
};
|
|
|
|
nativeBuildInputs = with python3Packages; [ poetry-core ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
requests
|
|
];
|
|
|
|
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}" ];
|
|
|
|
pythonImportsCheck = [ "twspace_dl" ];
|
|
|
|
meta = with lib; {
|
|
description = "A python module to download twitter spaces";
|
|
homepage = "https://github.com/HoloArchivists/twspace-dl";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ marsam ];
|
|
mainProgram = "twspace_dl";
|
|
};
|
|
}
|