mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
nwg-launchers: init at 0.2.0
This commit is contained in:
parent
f4722ea0bc
commit
b121a97e32
49
pkgs/applications/misc/nwg-launchers/default.nix
Normal file
49
pkgs/applications/misc/nwg-launchers/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, gtkmm3
|
||||
, meson
|
||||
, ninja
|
||||
, nlohmann_json
|
||||
, pkgconfig
|
||||
, swaylock
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nwg-launchers";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nwg-piotr";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1mlym0mpg6njwgwniwlk95fk6wfwlzq8nwmkb5mkjlm2nqv5bdv1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkgconfig
|
||||
cmake
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtkmm3
|
||||
nlohmann_json
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/nwgbar \
|
||||
--prefix PATH : "${swaylock}/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GTK-based launchers: application grid, button bar, dmenu for sway and other window managers";
|
||||
homepage = "https://github.com/nwg-piotr/nwg-launchers";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ bbigras ];
|
||||
};
|
||||
}
|
@ -21356,6 +21356,8 @@ in
|
||||
nootka = qt5.callPackage ../applications/audio/nootka { };
|
||||
nootka-unstable = qt5.callPackage ../applications/audio/nootka/unstable.nix { };
|
||||
|
||||
nwg-launchers = callPackage ../applications/misc/nwg-launchers { };
|
||||
|
||||
open-policy-agent = callPackage ../development/tools/open-policy-agent { };
|
||||
|
||||
openshift = callPackage ../applications/networking/cluster/openshift { };
|
||||
|
Loading…
Reference in New Issue
Block a user