nixpkgs/pkgs/os-specific/linux/seturgent/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
695 B
Nix
Raw Normal View History

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