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

31 lines
738 B
Nix
Raw Normal View History

2021-01-15 14:45:37 +00:00
{ lib, stdenv, fetchurl, libX11, xorgproto, unzip }:
2014-09-30 07:55:38 +00:00
stdenv.mkDerivation {
2021-11-09 15:09:14 +00:00
pname = "seturgent";
version = "unstable-2012-08-17";
2014-09-30 07:55:38 +00:00
src = fetchurl {
url = "https://github.com/hiltjo/seturgent/archive/ada70dcb15865391e5cdcab27a0739a304a17e03.zip";
sha256 = "0q1sr6aljkw2jr9b4xxzbc01qvnd5vk3pxrypif9yd8xjw4wqwri";
};
nativeBuildInputs = [ unzip ];
2014-09-30 07:55:38 +00:00
buildInputs = [
2021-11-09 15:09:14 +00:00
libX11
xorgproto
2014-09-30 07:55:38 +00:00
];
installPhase = ''
mkdir -pv $out/bin
mv seturgent $out/bin
'';
meta = {
2021-11-09 15:09:14 +00:00
platforms = lib.platforms.linux;
description = "Set an application's urgency hint (or not)";
maintainers = [ lib.maintainers.yarr ];
homepage = "https://github.com/hiltjo/seturgent";
license = lib.licenses.mit;
2014-09-30 07:55:38 +00:00
};
2015-06-04 17:22:36 +00:00
}