xdgmenumaker: 1.5 -> 1.6 (#176568)
* xdgmenumaker: format nix expression * xdgmenumaker: add update script * xdgmenumaker: fix license * xdgmenumaker: avoid double wrapping * xdgmenumaker: 1.5 -> 1.6
This commit is contained in:
parent
1c69f9896c
commit
33d84e02ee
|
@ -1,20 +1,32 @@
|
||||||
{ lib, fetchFromGitHub, txt2tags, python3Packages, glib, gobject-introspection, wrapGAppsHook }:
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, atk
|
||||||
|
, gdk-pixbuf
|
||||||
|
, gobject-introspection
|
||||||
|
, pango
|
||||||
|
, python3Packages
|
||||||
|
, txt2tags
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gitUpdater
|
||||||
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "xdgmenumaker";
|
pname = "xdgmenumaker";
|
||||||
version = "1.5";
|
version = "1.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gapan";
|
owner = "gapan";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1vrsp5c1ah7p4dpwd6aqvinpwzd8crdimvyyr3lbm3c6cwpyjmif";
|
sha256 = "Q38m8YrvkkTCY2dByvPj+Ee1DMSUbWvwSDI0kW182bU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
strictDeps = false;
|
strictDeps = false;
|
||||||
|
|
||||||
|
dontWrapGApps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
txt2tags
|
txt2tags
|
||||||
|
@ -22,26 +34,30 @@ python3Packages.buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib
|
atk
|
||||||
|
gdk-pixbuf
|
||||||
|
pango
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonPath = with python3Packages; [
|
pythonPath = with python3Packages; [
|
||||||
pyxdg
|
|
||||||
pygobject3
|
pygobject3
|
||||||
|
pyxdg
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=${placeholder "out"}"
|
"PREFIX=${placeholder "out"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
installFlags = [
|
preFixup = ''
|
||||||
"DESTDIR="
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||||
];
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater {inherit pname version; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Command line tool that generates XDG menus for several window managers";
|
description = "Command line tool that generates XDG menus for several window managers";
|
||||||
homepage = "https://github.com/gapan/xdgmenumaker";
|
homepage = "https://github.com/gapan/xdgmenumaker";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl3Plus;
|
||||||
# NOTE: exclude darwin from platforms because Travis reports hash mismatch
|
# NOTE: exclude darwin from platforms because Travis reports hash mismatch
|
||||||
platforms = with platforms; filter (x: !(elem x darwin)) unix;
|
platforms = with platforms; filter (x: !(elem x darwin)) unix;
|
||||||
maintainers = [ maintainers.romildo ];
|
maintainers = [ maintainers.romildo ];
|
||||||
|
|
Loading…
Reference in a new issue