twspace-dl: init at 2022.6.6.1
This commit is contained in:
parent
990828dcfd
commit
1bb60c2755
2 changed files with 31 additions and 0 deletions
29
pkgs/tools/misc/twspace-dl/default.nix
Normal file
29
pkgs/tools/misc/twspace-dl/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib, python3Packages, ffmpeg }:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "twspace-dl";
|
||||||
|
version = "2022.6.6.1";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = python3Packages.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "47622f306f2601185b00d6ef24f821810adcc581b7361c423eec979263725afc";
|
||||||
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
}
|
|
@ -12037,6 +12037,8 @@ with pkgs;
|
||||||
|
|
||||||
twitterBootstrap = callPackage ../development/web/twitter-bootstrap {};
|
twitterBootstrap = callPackage ../development/web/twitter-bootstrap {};
|
||||||
|
|
||||||
|
twspace-dl = callPackage ../tools/misc/twspace-dl { };
|
||||||
|
|
||||||
twtxt = python3Packages.callPackage ../applications/networking/twtxt { };
|
twtxt = python3Packages.callPackage ../applications/networking/twtxt { };
|
||||||
|
|
||||||
twurl = callPackage ../tools/misc/twurl { };
|
twurl = callPackage ../tools/misc/twurl { };
|
||||||
|
|
Loading…
Reference in a new issue