pythonModules.xapp: init at 1.8.1
This commit is contained in:
parent
632c4f2c9b
commit
580a6f492a
2 changed files with 50 additions and 2 deletions
43
pkgs/development/python-modules/xapp/default.nix
Normal file
43
pkgs/development/python-modules/xapp/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, psutil
|
||||
, pygobject3
|
||||
, gtk3
|
||||
, gobject-introspection
|
||||
, xapps
|
||||
, polkit
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xapp";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "python-xapp";
|
||||
rev = version;
|
||||
sha256 = "0vw3cn09nx75lv4d9idp5fdhd81xs279zhbyyilynq29cxxs2zil";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
psutil
|
||||
pygobject3
|
||||
gtk3
|
||||
gobject-introspection
|
||||
xapps
|
||||
polkit
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace "xapp/os.py" --replace "/usr/bin/pkexec" "${polkit}/bin/pkexec"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/linuxmint/python-xapp";
|
||||
description = "Cross-desktop libraries and common resources for python";
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.mkg20001 ];
|
||||
};
|
||||
}
|
|
@ -182,7 +182,7 @@ in {
|
|||
aresponses = callPackage ../development/python-modules/aresponses { };
|
||||
|
||||
argon2_cffi = callPackage ../development/python-modules/argon2_cffi { };
|
||||
|
||||
|
||||
arviz = callPackage ../development/python-modules/arviz { };
|
||||
|
||||
asana = callPackage ../development/python-modules/asana { };
|
||||
|
@ -1148,7 +1148,7 @@ in {
|
|||
pytesseract = callPackage ../development/python-modules/pytesseract { };
|
||||
|
||||
pytest-bdd = callPackage ../development/python-modules/pytest-bdd { };
|
||||
|
||||
|
||||
pytest-black = callPackage ../development/python-modules/pytest-black { };
|
||||
|
||||
pytest-click = callPackage ../development/python-modules/pytest-click { };
|
||||
|
@ -5422,6 +5422,11 @@ in {
|
|||
|
||||
xapian = callPackage ../development/python-modules/xapian { xapian = pkgs.xapian; };
|
||||
|
||||
xapp = callPackage ../development/python-modules/xapp {
|
||||
inherit (pkgs) gtk3 gobject-introspection polkit;
|
||||
inherit (pkgs.cinnamon) xapps;
|
||||
};
|
||||
|
||||
xlwt = callPackage ../development/python-modules/xlwt { };
|
||||
|
||||
xxhash = callPackage ../development/python-modules/xxhash { };
|
||||
|
|
Loading…
Reference in a new issue