forked from mirrors/nixpkgs
xdgmenumaker: init at 0.9
This commit is contained in:
parent
16e2dd9a72
commit
aab60f1b79
38
pkgs/applications/misc/xdgmenumaker/default.nix
Normal file
38
pkgs/applications/misc/xdgmenumaker/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ stdenv, fetchFromGitHub, txt2tags, python2Packages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xdgmenumaker-${version}";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = version;
|
||||
owner = "gapan";
|
||||
repo = "xdgmenumaker";
|
||||
sha256 = "1n29syadsgj0vpnkc8nji4k1c8gminr1xdriz5ck2bcygsgxkdrd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
txt2tags
|
||||
python2Packages.wrapPython
|
||||
];
|
||||
|
||||
pythonPath = [
|
||||
python2Packages.pyxdg
|
||||
python2Packages.pygtk
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
make install PREFIX=$out DESTDIR=
|
||||
wrapProgram "$out/bin/xdgmenumaker" \
|
||||
--prefix XDG_DATA_DIRS : "$out/share"
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Command line tool that generates XDG menus for several window managers";
|
||||
homepage = https://github.com/gapan/xdgmenumaker;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
};
|
||||
}
|
|
@ -14418,6 +14418,8 @@ in
|
|||
w3m = w3m-batch;
|
||||
};
|
||||
|
||||
xdgmenumaker = callPackage ../applications/misc/xdgmenumaker { };
|
||||
|
||||
xdotool = callPackage ../tools/X11/xdotool { };
|
||||
|
||||
xen_4_5_0 = callPackage ../applications/virtualization/xen/4.5.0.nix { stdenv = overrideCC stdenv gcc49; };
|
||||
|
|
Loading…
Reference in a new issue