depot/third_party/nixpkgs/pkgs/applications/misc/lighthouse/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

35 lines
961 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig
, libX11, libxcb, cairo, gtk2, pango, python27, python3
}:
stdenv.mkDerivation rec {
name = "lighthouse-${date}";
date = "2016-07-20";
src = fetchFromGitHub {
owner = "emgram769";
repo = "lighthouse";
rev = "d1813ef8e2aca9f6b3609b1e0c6d1d5ee683281a";
sha256 = "0v6ylm49f1b44zwq1y1gqxp2csyqblplr24ajllc2q3r0sc9m1ys";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
libX11 libxcb cairo gtk2 pango python27 python3
];
makeFlags = [ "PREFIX=\${out}" ];
preFixup = "chmod +x $out/share/lighthouse/.config/lighthouse/google.py";
postFixup = "chmod -x $out/share/lighthouse/.config/lighthouse/google.py";
meta = with stdenv.lib; {
description = "A simple flexible popup dialog to run on X";
homepage = "https://github.com/emgram769/lighthouse";
license = licenses.mit;
maintainers = with maintainers; [ ramkromberg ];
platforms = platforms.linux;
};
}