diff --git a/pkgs/by-name/ub/ubi_reader/package.nix b/pkgs/by-name/ub/ubi_reader/package.nix index 0d2e059b78f0..20c3782e9062 100644 --- a/pkgs/by-name/ub/ubi_reader/package.nix +++ b/pkgs/by-name/ub/ubi_reader/package.nix @@ -1,29 +1,32 @@ -{ lib -, python3 -, fetchFromGitHub +{ + fetchFromGitHub, + lib, + python3, }: python3.pkgs.buildPythonApplication rec { pname = "ubi_reader"; - version = "0.8.5"; - format = "setuptools"; + version = "0.8.9"; + pyproject = true; src = fetchFromGitHub { - owner = "jrspruitt"; - repo = pname; - rev = "v${version}-master"; - hash = "sha256-tjQs1F9kcFrC9FDkfdnax0C8O8Bg7blkpL7GU56eeWU="; + owner = "onekey-sec"; + repo = "ubi_reader"; + rev = "v${version}"; + hash = "sha256-04HwzkonPzzWfX8VE//fMoVv5ggAS+61zx2W8VEUIy4="; }; - propagatedBuildInputs = with python3.pkgs; [ python-lzo ]; + build-system = [ python3.pkgs.poetry-core ]; + + dependencies = [ python3.pkgs.lzallright ]; # There are no tests in the source doCheck = false; - meta = with lib; { - description = "Collection of Python scripts for reading information about and extracting data from UBI and UBIFS images"; - homepage = "https://github.com/jrspruitt/ubi_reader"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ vlaci ]; + meta = { + description = "Python scripts capable of extracting and analyzing the contents of UBI and UBIFS images"; + homepage = "https://github.com/onekey-sec/ubi_reader"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ vlaci ]; }; }