1{ lib, stdenv, fetchgit, libX11, xorgproto }:
2
3stdenv.mkDerivation rec {
4 pname = "seturgent";
5 version = "1.5";
6
7 src = fetchgit {
8 url = "git://git.codemadness.org/seturgent";
9 rev = version;
10 sha256 = "sha256-XW7ms0BVCf1/fuL3PJ970t6sHkmMY1iLYXfS9R60JX0=";
11 };
12
13 buildInputs = [
14 libX11
15 xorgproto
16 ];
17
18 installPhase = ''
19 mkdir -pv $out/bin
20 mv seturgent $out/bin
21 '';
22
23 meta = with lib; {
24 platforms = platforms.linux;
25 description = "Set an application's urgency hint (or not)";
26 maintainers = with maintainers; [ yarr ];
27 homepage = "https://codemadness.org/seturgent-set-urgency-hints-for-x-applications.html";
28 license = licenses.mit;
29 };
30}