2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libX11 }:
|
2020-11-24 20:58:05 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-24 20:58:05 +00:00
|
|
|
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;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "devour";
|
2020-11-24 20:58:05 +00:00
|
|
|
};
|
|
|
|
}
|