Unverified Commit fb415add authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

python3Packages.python-xapp: 2.4.2 -> 3.0.0 (#462232)

parents a2e92afc f469a436
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@

buildPythonPackage rec {
  pname = "python-xapp";
  version = "2.4.2";
  version = "3.0.0";

  format = "other";

@@ -23,7 +23,7 @@ buildPythonPackage rec {
    owner = "linuxmint";
    repo = "python-xapp";
    rev = version;
    hash = "sha256-Gbm4YT9ZyrROOAbKz5xYd9J9YG9cUL2Oo6dDCPciaBs=";
    hash = "sha256-OvYbMu/2cQLTHHbHh4zESf1X22AfZe8ZEfzeOBDcU90=";
  };

  nativeBuildInputs = [
@@ -43,6 +43,10 @@ buildPythonPackage rec {
  postPatch = ''
    substituteInPlace "xapp/os.py" \
      --replace-fail "/usr/bin/pkexec" "${polkit}/bin/pkexec"

    # We actually want the localedir provided by the caller.
    substituteInPlace "xapp/util/__init__.py" \
      --replace-fail "/usr/share/locale" "/run/current-system/sw/share/locale"
  '';

  doCheck = false;