fdroidserver: rename GitPython
This commit is contained in:
parent
2c61d89177
commit
91b4118cd4
@ -1,12 +1,12 @@
|
||||
{ fetchFromGitLab
|
||||
{ lib
|
||||
, fetchFromGitLab
|
||||
, python
|
||||
, lib
|
||||
, apksigner
|
||||
}:
|
||||
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
version = "2.1.1";
|
||||
pname = "fdroidserver";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "fdroid";
|
||||
@ -16,24 +16,28 @@ python.pkgs.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace fdroidserver/common.py --replace "FDROID_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))" "FDROID_PATH = '$out/bin'"
|
||||
substituteInPlace fdroidserver/common.py \
|
||||
--replace "FDROID_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))" "FDROID_PATH = '$out/bin'"
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
${python.interpreter} setup.py compile_catalog
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
patchShebangs gradlew-fdroid
|
||||
install -m 0755 gradlew-fdroid $out/bin
|
||||
'';
|
||||
|
||||
buildInputs = [ python.pkgs.babel ];
|
||||
buildInputs = with python.pkgs; [
|
||||
babel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
androguard
|
||||
clint
|
||||
defusedxml
|
||||
GitPython
|
||||
gitpython
|
||||
libcloud
|
||||
mwclient
|
||||
paramiko
|
||||
@ -59,7 +63,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
homepage = "https://f-droid.org";
|
||||
description = "Server and tools for F-Droid, the Free Software repository system for Android";
|
||||
license = licenses.agpl3;
|
||||
maintainers = [ lib.maintainers.obfusk ];
|
||||
maintainers = with maintainers; [ obfusk ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user