apksigcopier: use apksigner

This commit is contained in:
Felix C. Stegerman 2021-07-24 22:24:24 +02:00
parent 621eadcaa6
commit 9adcb3a2ab
No known key found for this signature in database
GPG Key ID: B218FF2C27FC6CC6

View File

@ -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 \