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