mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
python3Packages.xapp: 2.4.1 -> 2.4.2
https://github.com/linuxmint/python3-xapp/compare/2.4.1...2.4.2
This commit is contained in:
parent
3182dcecd7
commit
65ad7bd2c2
@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xapp";
|
||||
version = "2.4.1";
|
||||
version = "2.4.2";
|
||||
|
||||
format = "other";
|
||||
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "linuxmint";
|
||||
repo = "python-xapp";
|
||||
rev = version;
|
||||
hash = "sha256-Kvhp+biZ+KK9FYma/8cUEaQCHPKMLjOO909kbyMLQ3o=";
|
||||
hash = "sha256-Gbm4YT9ZyrROOAbKz5xYd9J9YG9cUL2Oo6dDCPciaBs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -42,14 +42,8 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace "xapp/os.py" --replace "/usr/bin/pkexec" "${polkit}/bin/pkexec"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# This is typically set by pipInstallHook/eggInstallHook,
|
||||
# so we have to do so manually when using meson.
|
||||
# https://github.com/NixOS/nixpkgs/issues/175227
|
||||
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
||||
substituteInPlace "xapp/os.py" \
|
||||
--replace-fail "/usr/bin/pkexec" "${polkit}/bin/pkexec"
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
@ -63,7 +57,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/linuxmint/python-xapp";
|
||||
description = "Cross-desktop libraries and common resources for python";
|
||||
license = licenses.lgpl2;
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.cinnamon.members;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user