3
0
Fork 0
forked from mirrors/nixpkgs

devour: init at 12

This commit is contained in:
Mazurel 2020-11-10 12:12:53 +01:00
parent cea118396f
commit 8e995109f2
2 changed files with 30 additions and 0 deletions

View 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;
};
}

View file

@ -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;