mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 05:43:17 +00:00
f78d6a5535
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/1ggjwr61hd0yd99gra484q1dfwzm4k8r-jgmenu-0.8.2/bin/jgmenu -h` got 0 exit code - ran `/nix/store/1ggjwr61hd0yd99gra484q1dfwzm4k8r-jgmenu-0.8.2/bin/jgmenu --help` got 0 exit code - ran `/nix/store/1ggjwr61hd0yd99gra484q1dfwzm4k8r-jgmenu-0.8.2/bin/jgmenu --version` and found version 0.8.2 - ran `/nix/store/1ggjwr61hd0yd99gra484q1dfwzm4k8r-jgmenu-0.8.2/bin/jgmenu_run --help` got 0 exit code - found 0.8.2 with grep in /nix/store/1ggjwr61hd0yd99gra484q1dfwzm4k8r-jgmenu-0.8.2 - found 0.8.2 in filename of file in /nix/store/1ggjwr61hd0yd99gra484q1dfwzm4k8r-jgmenu-0.8.2 cc "@romildo"
41 lines
893 B
Nix
41 lines
893 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, python3Packages, pango, librsvg, libxml2, menu-cache, xorg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "jgmenu-${version}";
|
|
version = "0.8.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "johanmalm";
|
|
repo = "jgmenu";
|
|
rev = "v${version}";
|
|
sha256 = "0nflj4fcpz7rcd1s0zlyi5ikxjykkmz3p5w4gzica1fdbyn2l7x3";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|