depot/third_party/nixpkgs/pkgs/os-specific/linux/seturgent/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

30 lines
738 B
Nix

{ lib, stdenv, fetchurl, libX11, xorgproto, unzip }:
stdenv.mkDerivation {
pname = "seturgent";
version = "unstable-2012-08-17";
src = fetchurl {
url = "https://github.com/hiltjo/seturgent/archive/ada70dcb15865391e5cdcab27a0739a304a17e03.zip";
sha256 = "0q1sr6aljkw2jr9b4xxzbc01qvnd5vk3pxrypif9yd8xjw4wqwri";
};
nativeBuildInputs = [ unzip ];
buildInputs = [
libX11
xorgproto
];
installPhase = ''
mkdir -pv $out/bin
mv seturgent $out/bin
'';
meta = {
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;
};
}