Merge pull request #103227 from Mazurel/master

This commit is contained in:
Sandro 2020-11-23 23:09:50 +01:00 committed by GitHub
commit 8b65b642b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View file

@ -5496,6 +5496,12 @@
githubId = 1191859;
name = "Maxim Krivchikov";
};
mazurel = {
email = "mateusz.mazur@yahoo.com";
github = "Mazurel";
githubId = 22836301;
name = "Mateusz Mazur";
};
mbakke = {
email = "mbakke@fastmail.com";
github = "mbakke";

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

@ -230,6 +230,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;