about summary refs log tree commit diff
path: root/pkgs/development/python-modules/yt-dlp-dearrow/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/yt-dlp-dearrow/default.nix')
-rw-r--r--pkgs/development/python-modules/yt-dlp-dearrow/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yt-dlp-dearrow/default.nix b/pkgs/development/python-modules/yt-dlp-dearrow/default.nix
new file mode 100644
index 0000000000000..ae182ce79a47f
--- /dev/null
+++ b/pkgs/development/python-modules/yt-dlp-dearrow/default.nix
@@ -0,0 +1,32 @@
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
+  setuptools,
+}:
+
+buildPythonPackage {
+  pname = "yt-dlp-dearrow";
+  version = "2023.01.01-unstable-2024-01-13"; # setup.cfg
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "QuantumWarpCode";
+    repo = "yt-dlp-dearrow";
+    rev = "2e46eca7b2242d8c9765bf2d12f92270b694be64"; # no tags
+    hash = "sha256-Ubi1kn/1FqkuwnxToBuSsAfCYWiNCTl/EUD8eeG3MSY=";
+  };
+
+  build-system = [ setuptools ];
+
+  doCheck = false; # no tests
+
+  pythonImportsCheck = [ "yt_dlp_plugins" ];
+
+  meta = {
+    description = "Post-processor plugin to use DeArrow video titles in YT-DLP";
+    homepage = "https://github.com/QuantumWarpCode/yt-dlp-dearrow";
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ sigmanificient ];
+  };
+}