|
|
|
@ -4,10 +4,9 @@ |
|
|
|
|
, installShellFiles |
|
|
|
|
, bash |
|
|
|
|
, pandoc |
|
|
|
|
, apksigner |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
# FIXME: how to "recommend" apksigner like the Debian package? |
|
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec { |
|
|
|
|
pname = "apksigcopier"; |
|
|
|
|
version = "1.0.1"; |
|
|
|
@ -22,6 +21,7 @@ python3.pkgs.buildPythonApplication rec { |
|
|
|
|
nativeBuildInputs = [ installShellFiles pandoc ]; |
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [ click ]; |
|
|
|
|
checkInputs = with python3.pkgs; [ flake8 mypy pylint ]; |
|
|
|
|
makeWrapperArgs = [ "--prefix" "PATH" ":" "${lib.makeBinPath [ apksigner ]}" ]; |
|
|
|
|
|
|
|
|
|
postPatch = '' |
|
|
|
|
substituteInPlace Makefile \ |
|
|
|
|