1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/applications/misc/jgmenu/default.nix
R. RyanTM 3d7be025be jgmenu: 0.8.2 -> 0.9 (#40965)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/jgmenu/versions.

These checks were done:

- built on NixOS
- /nix/store/ka2zxzryv20bs8rxfwk8g8jdji6iq5vx-jgmenu-0.9/bin/jgmenu passed the binary check.
- /nix/store/ka2zxzryv20bs8rxfwk8g8jdji6iq5vx-jgmenu-0.9/bin/jgmenu_run passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 1 of 2 passed binary check by having the new version present in output.
- found 0.9 with grep in /nix/store/ka2zxzryv20bs8rxfwk8g8jdji6iq5vx-jgmenu-0.9
- directory tree listing: https://gist.github.com/16eca43055545a3b99c07f19da8575e9
- du listing: https://gist.github.com/3840e7d84d3f33c8feeb0235bfdcdd9b
2018-05-26 16:00:28 +02:00

41 lines
892 B
Nix

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