From 7a84f381fc8e1eac47fe3650de392634e53d9e15 Mon Sep 17 00:00:00 2001 From: xeals Date: Tue, 23 May 2023 10:04:30 +1000 Subject: [PATCH] ytarchive: 0.2.2 -> 0.2.2+0304577 Upstream has rewritten in Go and removed all the Python tags, so we fix the revision at the last Python version. --- pkgs/unit/yt/ytarchive/package.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/unit/yt/ytarchive/package.nix b/pkgs/unit/yt/ytarchive/package.nix index fff71ea..5dff741 100644 --- a/pkgs/unit/yt/ytarchive/package.nix +++ b/pkgs/unit/yt/ytarchive/package.nix @@ -1,20 +1,21 @@ { stdenv , lib , fetchFromGitHub - , python3 , ffmpeg }: stdenv.mkDerivation rec { pname = "ytarchive"; - version = "0.2.2"; + version = "0.2.2+0304577"; src = fetchFromGitHub { owner = "Kethsar"; repo = "ytarchive"; - rev = "v${version}"; - sha256 = "xT45FF0ztWQXzQgYztl2YKiI2iGJfnCXgCMw8gOmxzM="; + # NOTE: Last revision where it was written in Python, so don't change + # without rewriting the derivation. + rev = "030457749d6c8d1d62240bfbad659326f3cd3a30"; + hash = "sha256-mvmdkxZxlEbWc7GR8LfyxTJOeEhjCoYyeatDx8l1uhM="; }; propagatedBuildInputs = [