Unverified Commit 442b6ae1 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

fdroidserver: 2.3a2 -> 2.3.0 (#359351)

parents d6d092f8 9f664fb6
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
}:

let
  version = "2.3a2";
  version = "2.3.1";
in
python3Packages.buildPythonApplication {
  pname = "fdroidserver";
@@ -21,7 +21,7 @@ python3Packages.buildPythonApplication {
    owner = "fdroid";
    repo = "fdroidserver";
    rev = version;
    hash = "sha256-nsAFBZqxo4XVWU6nBjo2T6VhU8U4I8h/FRXd1L240rk=";
    hash = "sha256-1jJwKvxm33Hge35dhqy5HgXzyokj8a2XhWvCmScj5bA=";
  };

  pythonRelaxDeps = [
@@ -30,6 +30,10 @@ python3Packages.buildPythonApplication {
    "pyasn1-modules"
  ];

  pythonRemoveDeps = [
    "puremagic" # Only used as a fallback when magic is not installed
  ];

  postPatch = ''
    substituteInPlace fdroidserver/common.py \
      --replace-fail "FDROID_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))" "FDROID_PATH = '$out/bin'"
@@ -55,16 +59,18 @@ python3Packages.buildPythonApplication {

  dependencies = with python3Packages; [
    androguard
    platformdirs
    biplist
    clint
    defusedxml
    gitpython
    libcloud
    libvirt
    magic
    mwclient
    oscrypto
    paramiko
    pillow
    platformdirs
    pyasn1
    pyasn1-modules
    pycountry