depot/third_party/nixpkgs/pkgs/tools/filesystems/ubi_reader/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

29 lines
735 B
Nix

{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "ubi_reader";
version = "0.8.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "jrspruitt";
repo = pname;
rev = "v${version}-master";
hash = "sha256-tjQs1F9kcFrC9FDkfdnax0C8O8Bg7blkpL7GU56eeWU=";
};
propagatedBuildInputs = with python3.pkgs; [ python-lzo ];
# 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 ];
};
}