at 24.11-pre 29 lines 735 B view raw
1{ lib 2, python3 3, fetchFromGitHub 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "ubi_reader"; 8 version = "0.8.5"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "jrspruitt"; 13 repo = pname; 14 rev = "v${version}-master"; 15 hash = "sha256-tjQs1F9kcFrC9FDkfdnax0C8O8Bg7blkpL7GU56eeWU="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ python-lzo ]; 19 20 # There are no tests in the source 21 doCheck = false; 22 23 meta = with lib; { 24 description = "Collection of Python scripts for reading information about and extracting data from UBI and UBIFS images"; 25 homepage = "https://github.com/jrspruitt/ubi_reader"; 26 license = licenses.gpl3Only; 27 maintainers = with maintainers; [ vlaci ]; 28 }; 29}