From 85827a26ed6ce86cba8018b152a69f8f51c5a094 Mon Sep 17 00:00:00 2001 From: wedens Date: Wed, 2 Jan 2019 23:19:06 +0700 Subject: tdrop: init at 2018-11-13 --- pkgs/applications/misc/tdrop/default.nix | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/applications/misc/tdrop/default.nix (limited to 'pkgs/applications/misc/tdrop') diff --git a/pkgs/applications/misc/tdrop/default.nix b/pkgs/applications/misc/tdrop/default.nix new file mode 100644 index 000000000000..15ee275c0e19 --- /dev/null +++ b/pkgs/applications/misc/tdrop/default.nix @@ -0,0 +1,33 @@ +{ stdenv, lib, fetchFromGitHub, makeWrapper +, xwininfo, xdotool, xprop }: + +stdenv.mkDerivation rec { + pname = "tdrop"; + version = "unstable-2018-11-13"; + + src = fetchFromGitHub { + owner = "noctuid"; + repo = "tdrop"; + rev = "198795c0d2573a31979330d6a2ae946eb81deebf"; + sha256 = "1fhibqgmls64mylcb6q46ipmg1q6pvaqm26vz933gqav6cqsbdzs"; + }; + + dontBuild = true; + + installFlags = [ "PREFIX=$(out)" ]; + + postInstall = '' + wrapProgram $out/bin/tdrop \ + --prefix PATH : ${lib.makeBinPath [ xwininfo xdotool xprop ]} + ''; + + nativeBuildInputs = [ makeWrapper ]; + + meta = with stdenv.lib; { + description = "A Glorified WM-Independent Dropdown Creator"; + homepage = https://github.com/noctuid/tdrop; + license = licenses.bsd2; + platforms = platforms.linux; + maintainers = with maintainers; [ wedens ]; + }; +} -- cgit 1.4.1