3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/pmenu/default.nix

37 lines
888 B
Nix
Raw Normal View History

2017-05-09 19:29:05 +01:00
{ stdenv, fetchFromGitLab, python2Packages, gnome3 }:
2016-05-18 21:57:59 +01:00
stdenv.mkDerivation rec {
name = "pmenu-${version}";
2018-01-12 15:29:52 +00:00
version = "2018-01-01";
2016-05-18 21:57:59 +01:00
src = fetchFromGitLab {
owner = "o9000";
repo = "pmenu";
2018-01-12 15:29:52 +00:00
rev = "f98a5bdf20deb0b7f0543e5ce6a8f5574f695e07";
sha256 = "131nqafbmbfpgsgss27pz4cyb9fb29m5h1ai1fyvcn286rr9dnp2";
2016-05-18 21:57:59 +01:00
};
2016-11-09 15:39:54 +00:00
nativeBuildInputs = [ python2Packages.wrapPython ];
2016-05-18 21:57:59 +01:00
2017-05-09 19:29:05 +01:00
buildInputs = [ python2Packages.pygtk gnome3.gnome-menus ];
2016-05-18 21:57:59 +01:00
2016-11-09 15:39:54 +00:00
pythonPath = [ python2Packages.pygtk ];
2016-05-18 21:57:59 +01:00
installPhase = ''
mkdir -p $out/bin $out/share/applications
2017-05-09 19:29:05 +01:00
./install.sh $out
2016-05-18 21:57:59 +01:00
'';
postFixup = ''
wrapPythonPrograms
'';
meta = {
homepage = https://gitlab.com/o9000/pmenu;
description = "Start menu for Linux/BSD";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}