From 9eabc0322f36a217ae3cd2995625f9b4a5f023df Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 11 Jun 2024 19:09:18 +0000 Subject: [PATCH] unl0kr: 2.0.0 -> 3.2.0 --- pkgs/by-name/un/unl0kr/package.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/un/unl0kr/package.nix b/pkgs/by-name/un/unl0kr/package.nix index 4f3589bd5973e..3cda68f5819ed 100644 --- a/pkgs/by-name/un/unl0kr/package.nix +++ b/pkgs/by-name/un/unl0kr/package.nix @@ -14,17 +14,19 @@ stdenv.mkDerivation (finalAttrs: { pname = "unl0kr"; - version = "2.0.0"; + version = "3.2.0"; src = fetchFromGitLab { domain = "gitlab.com"; - owner = "cherrypicker"; - repo = "unl0kr"; + owner = "postmarketOS"; + repo = "buffybox"; rev = finalAttrs.version; - fetchSubmodules = true; - hash = "sha256-KPP4Ol1GCAWqdQYlNtKQD/jx8A/xuHdvKjcocPMqWa0="; + fetchSubmodules = true; # to use its vendored lvgl + hash = "sha256-nZX7mSY9IBIhVNmOD6mXI1IF2TgyKLc00a8ADAvVLB0="; }; + sourceRoot = "source/unl0kr"; + nativeBuildInputs = [ meson ninja @@ -43,6 +45,8 @@ stdenv.mkDerivation (finalAttrs: { libxkbcommon ]; + strictDeps = false; # upstream incorrectly specifies `scdoc` as a runtime dependency + passthru = { tests.unl0kr = nixosTests.systemd-initrd-luks-unl0kr; }; @@ -50,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Framebuffer-based disk unlocker for the initramfs based on LVGL"; mainProgram = "unl0kr"; - homepage = "https://gitlab.com/cherrypicker/unl0kr"; + homepage = "https://gitlab.com/postmarketOS/buffybox"; license = licenses.gpl3Plus; maintainers = []; platforms = platforms.linux;