apksigcopier: use apksigner
This commit is contained in:
parent
621eadcaa6
commit
9adcb3a2ab
@ -4,10 +4,9 @@
|
|||||||
, installShellFiles
|
, installShellFiles
|
||||||
, bash
|
, bash
|
||||||
, pandoc
|
, pandoc
|
||||||
|
, apksigner
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# FIXME: how to "recommend" apksigner like the Debian package?
|
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "apksigcopier";
|
pname = "apksigcopier";
|
||||||
version = "1.0.1";
|
version = "1.0.1";
|
||||||
@ -22,6 +21,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
nativeBuildInputs = [ installShellFiles pandoc ];
|
nativeBuildInputs = [ installShellFiles pandoc ];
|
||||||
propagatedBuildInputs = with python3.pkgs; [ click ];
|
propagatedBuildInputs = with python3.pkgs; [ click ];
|
||||||
checkInputs = with python3.pkgs; [ flake8 mypy pylint ];
|
checkInputs = with python3.pkgs; [ flake8 mypy pylint ];
|
||||||
|
makeWrapperArgs = [ "--prefix" "PATH" ":" "${lib.makeBinPath [ apksigner ]}" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
|
Loading…
Reference in New Issue
Block a user