mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
29 lines
728 B
Nix
29 lines
728 B
Nix
|
|
{ lib, stdenv, xdo, makeWrapper, fetchFromGitHub }:
|
||
|
|
stdenv.mkDerivation {
|
||
|
|
name = "devour";
|
||
|
|
version = "master";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "salman-abedin";
|
||
|
|
repo = "devour";
|
||
|
|
rev = "ceb871c3046ce290c27e2887365b9a19ca38113c";
|
||
|
|
sha256 = "0f2jb8knx7lqy6wmf3rchgq2n2dj496lm8vgcs58rppzrmsk59d5";
|
||
|
|
};
|
||
|
|
|
||
|
|
nativeBuildInputs = [ makeWrapper ];
|
||
|
|
buildInputs = [ xdo ];
|
||
|
|
|
||
|
|
DESTDIR="$(out)";
|
||
|
|
|
||
|
|
fixupPhase = ''
|
||
|
|
wrapProgram $out/bin/devour --prefix PATH ":" ${xdo}/bin ;
|
||
|
|
'';
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
homepage = "https://github.com/salman-abedin/devour";
|
||
|
|
description = "Window Manager agnostic swallowing feature for terminal emulators";
|
||
|
|
license = licenses.gpl3;
|
||
|
|
platforms = platforms.all;
|
||
|
|
};
|
||
|
|
}
|