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;