mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
79319e1ea4
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 - Warning: no invocation of /nix/store/qf4jn0vm3jzfvmz4zxbzgvf0nvq2j1j6-jgmenu-1.1/bin/jgmenu had a zero exit code or showed the expected version - /nix/store/qf4jn0vm3jzfvmz4zxbzgvf0nvq2j1j6-jgmenu-1.1/bin/jgmenu_run passed the binary check. - 1 of 2 passed binary check by having a zero exit code. - 0 of 2 passed binary check by having the new version present in output. - found 1.1 with grep in /nix/store/qf4jn0vm3jzfvmz4zxbzgvf0nvq2j1j6-jgmenu-1.1 - directory tree listing: https://gist.github.com/63c8b0cfc6fa34baec9ef244ed1e3923 - du listing: https://gist.github.com/9ca804f2e9dbbb7f43c5e19c17b2b2c5
41 lines
892 B
Nix
41 lines
892 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, python3Packages, pango, librsvg, libxml2, menu-cache, xorg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "jgmenu-${version}";
|
|
version = "1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "johanmalm";
|
|
repo = "jgmenu";
|
|
rev = "v${version}";
|
|
sha256 = "0hnxzy5mm5z6r9gaimfsf7kbpr23khck2fhh3j8bk2lkp53420fz";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|