2017-11-14 18:28:02 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, python3Packages, pango, librsvg, libxml2, menu-cache, xorg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "jgmenu-${version}";
|
2018-02-27 03:25:38 +00:00
|
|
|
version = "0.8.2";
|
2017-11-14 18:28:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johanmalm";
|
|
|
|
repo = "jgmenu";
|
|
|
|
rev = "v${version}";
|
2018-02-27 03:25:38 +00:00
|
|
|
sha256 = "0nflj4fcpz7rcd1s0zlyi5ikxjykkmz3p5w4gzica1fdbyn2l7x3";
|
2017-11-14 18:28:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
python3Packages.wrapPython
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pango
|
|
|
|
librsvg
|
|
|
|
libxml2
|
|
|
|
menu-cache
|
|
|
|
xorg.libXinerama
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapPythonProgramsIn "$out/lib/jgmenu"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/johanmalm/jgmenu;
|
|
|
|
description = "Small X11 menu intended to be used with openbox and tint2";
|
|
|
|
license = licenses.gpl2;
|
2018-03-19 22:46:33 +00:00
|
|
|
platforms = platforms.linux;
|
2017-11-14 18:28:02 +00:00
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|