2021-12-25 05:07:40 +00:00
|
|
|
{ lib, stdenv, fetchgit, libX11, xorgproto }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-25 05:07:40 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "seturgent";
|
2021-12-25 05:07:40 +00:00
|
|
|
version = "1.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-25 05:07:40 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.codemadness.org/seturgent";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-XW7ms0BVCf1/fuL3PJ970t6sHkmMY1iLYXfS9R60JX0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-12-06 16:07:01 +00:00
|
|
|
libX11
|
|
|
|
xorgproto
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -pv $out/bin
|
|
|
|
mv seturgent $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-12-25 05:07:40 +00:00
|
|
|
meta = with lib; {
|
|
|
|
platforms = platforms.linux;
|
2021-12-06 16:07:01 +00:00
|
|
|
description = "Set an application's urgency hint (or not)";
|
2021-12-25 05:07:40 +00:00
|
|
|
maintainers = with maintainers; [ yarr ];
|
|
|
|
homepage = "https://codemadness.org/seturgent-set-urgency-hints-for-x-applications.html";
|
|
|
|
license = licenses.mit;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|