mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:48:10 +00:00
bd35faa8f4
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/vpa11fifwvfrf98sl02ypf1cydnwffm9-jgmenu-1.0/bin/jgmenu had a zero exit code or showed the expected version - /nix/store/vpa11fifwvfrf98sl02ypf1cydnwffm9-jgmenu-1.0/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.0 with grep in /nix/store/vpa11fifwvfrf98sl02ypf1cydnwffm9-jgmenu-1.0 - directory tree listing: https://gist.github.com/7f8cc3d354c6e8dec4eb42d5ac45a921 - du listing: https://gist.github.com/1a4c5fbad4edaf52118c0d319a135cc7
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.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "johanmalm";
|
|
repo = "jgmenu";
|
|
rev = "v${version}";
|
|
sha256 = "068mm0b2npz6qh9j8m9xd8sbznjp5g195vfav8a6016wgm6fhrx7";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|