forked from mirrors/nixpkgs
devour: init at 12
This commit is contained in:
parent
cea118396f
commit
8e995109f2
28
pkgs/tools/X11/devour/default.nix
Normal file
28
pkgs/tools/X11/devour/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "devour";
|
||||
version = "12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "salman-abedin";
|
||||
repo = "devour";
|
||||
rev = version;
|
||||
sha256 = "1qq5l6d0fn8azg7sj7a4m2jsmhlpswl5793clcxs1p34vy4wb2lp";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -Dm555 -t $out/bin devour
|
||||
'';
|
||||
|
||||
buildInputs = [ libX11 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Devour hides your current window when launching an external program";
|
||||
longDescription = "Devour hides your current window before launching an external program and unhides it after quitting";
|
||||
homepage = "https://github.com/salman-abedin/devour";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ mazurel ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -226,6 +226,8 @@ in
|
|||
|
||||
device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix {};
|
||||
|
||||
devour = callPackage ../tools/X11/devour {};
|
||||
|
||||
diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;
|
||||
|
||||
dieHook = makeSetupHook {} ../build-support/setup-hooks/die.sh;
|
||||
|
|
Loading…
Reference in a new issue