1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/applications/misc/jgmenu/default.nix
José Romildo Malaquias 652474b4d6 jgmenu: 0.7.4 -> 0.7.5
2017-11-28 09:12:26 -02:00

41 lines
893 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, python3Packages, pango, librsvg, libxml2, menu-cache, xorg }:
stdenv.mkDerivation rec {
name = "jgmenu-${version}";
version = "0.7.5";
src = fetchFromGitHub {
owner = "johanmalm";
repo = "jgmenu";
rev = "v${version}";
sha256 = "1gml2g711pr6wakznlxjrlmz8kylkv0ydpvv0jx2y5qczp3rwk3a";
};
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;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}