9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
32 lines
837 B
Nix
32 lines
837 B
Nix
{ lib, python3Packages, fetchPypi, ffmpeg }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "twspace-dl";
|
|
version = "2023.1.22.1";
|
|
|
|
format = "pyproject";
|
|
|
|
src = 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";
|
|
};
|
|
}
|