mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
variety: fixed GLib-GIO-ERROR error
This commit is contained in:
parent
67a3b2a2b6
commit
3f2f086616
@ -10,6 +10,7 @@
|
||||
, hicolor-icon-theme
|
||||
, librsvg
|
||||
, wrapGAppsHook
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
with python37Packages;
|
||||
@ -27,10 +28,12 @@ buildPythonApplication rec {
|
||||
|
||||
nativeBuildInputs = [ intltool wrapGAppsHook ];
|
||||
|
||||
buildInputs = [ distutils_extra ];
|
||||
buildInputs = [ makeWrapper distutils_extra ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = "wrapProgram $out/bin/variety --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/";
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace variety_lib/varietyconfig.py \
|
||||
--replace "__variety_data_directory__ = \"../data\"" "__variety_data_directory__ = \"$out/share/variety\""
|
||||
@ -76,7 +79,7 @@ buildPythonApplication rec {
|
||||
blur, as well as options to layer quotes and a clock onto the background.
|
||||
'';
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ AndersonTorres zfnmxt ];
|
||||
maintainers = with maintainers; [ p3psi AndersonTorres zfnmxt ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user