diff options
author | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2016-05-19 02:07:02 +0400 |
---|---|---|
committer | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2016-05-19 02:07:02 +0400 |
commit | 0c1bd3ee66434c0c0ac4b840e3e8d047f018d2a2 (patch) | |
tree | 48815d893da6365baecb0fcd3db36a03c6aa916d /pkgs | |
parent | 5445e521b6524587489c6968cc27347977b9b7b8 (diff) | |
parent | 5d33861d139cad8a551e2903b1bc6bf4e2a932f1 (diff) |
Merge pull request #15546 from romildo/new.pmenu
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 17b0c4a23fc85..63ca1c8258db2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13741,6 +13741,8 @@ in plugin-torture = callPackage ../applications/audio/plugin-torture { }; + pmenu = callPackage ../applications/misc/pmenu { }; + poezio = python3Packages.poezio; pommed = callPackage ../os-specific/linux/pommed {}; |