diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2016-05-18 17:57:59 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2016-05-18 17:57:59 -0300 |
commit | 5d33861d139cad8a551e2903b1bc6bf4e2a932f1 (patch) | |
tree | 46ca473db05f679e088516feb93b59531675692d /pkgs | |
parent | 7ca412a2fad51eb7f819f5954dbbb7d9bf978197 (diff) |
pmenu: init at 2016-05-13
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/pmenu/default.nix | 40 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/misc/pmenu/default.nix b/pkgs/applications/misc/pmenu/default.nix new file mode 100644 index 0000000000000..4798ae5a02484 --- /dev/null +++ b/pkgs/applications/misc/pmenu/default.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchFromGitLab, pythonPackages, gnome }: + +stdenv.mkDerivation rec { + name = "pmenu-${version}"; + version = "2016-05-13"; + + src = fetchFromGitLab { + owner = "o9000"; + repo = "pmenu"; + rev = "90b722de345cff56f8ec0908a0e8a7d733c0c671"; + sha256 = "15bkvadr7ab44mc8gkdqs3w14cm498mwf72w5rjm2rdh55357jjh"; + }; + + nativeBuildInputs = [ pythonPackages.wrapPython ]; + + buildInputs = [ pythonPackages.pygtk gnome.gnome_menus ]; + + pythonPath = [ pythonPackages.pygtk ]; + + patchPhase = '' + substituteInPlace install.sh --replace "/usr/local" "$out" + ''; + + installPhase = '' + mkdir -p $out/bin $out/share/applications + ./install.sh + ''; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c7e68726fec10..37dbc9ed56485 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13739,6 +13739,8 @@ in plugin-torture = callPackage ../applications/audio/plugin-torture { }; + pmenu = callPackage ../applications/misc/pmenu { }; + poezio = python3Packages.poezio; pommed = callPackage ../os-specific/linux/pommed {}; |