1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #14712 from ericsagnes/pkg/j4-dmenu-desktop

j4-dmenu-desktop: init at 2.14
This commit is contained in:
Arseniy Seroka 2016-04-15 14:08:36 +03:00
commit 5af369b338
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, cmake, dmenu }:
stdenv.mkDerivation rec {
name = "j4-dmenu-desktop-${version}";
version = "2.14";
src = fetchFromGitHub {
owner = "enkore";
repo = "j4-dmenu-desktop";
rev = "r${version}";
sha256 = "14srrkz4qx8qplgrrjv38ri4pnkxaxaq6jy89j13xhna492bq128";
};
postPatch = ''
sed -e 's,dmenu -i,${dmenu}/bin/dmenu -i,g' -i ./src/Main.hh
'';
nativeBuildInputs = [ cmake ];
# tests are fetching an external git repository
cmakeFlags = [ "-DNO_TESTS:BOOL=ON" ];
meta = with stdenv.lib; {
description = "A wrapper for dmenu that recognize .desktop files";
homepage = "https://github.com/enkore/j4-dmenu-desktop";
license = licenses.gpl3;
maintainer = with maintainers; [ ericsagnes ];
};
}

View file

@ -12827,6 +12827,8 @@ in
bip = callPackage ../applications/networking/irc/bip { };
j4-dmenu-desktop = callPackage ../applications/misc/j4-dmenu-desktop/default.nix { };
jabref = callPackage ../applications/office/jabref/default.nix { };
jack_capture = callPackage ../applications/audio/jack-capture { };