depot/third_party/nixpkgs/pkgs/tools/X11/devour/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

28 lines
786 B
Nix

{ lib, 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 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;
};
}