Skip to content

Instantly share code, notes, and snippets.

@willghatch
Created September 7, 2019 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willghatch/d52ca40dfda8dce1fb0965f1082c07e3 to your computer and use it in GitHub Desktop.
Save willghatch/d52ca40dfda8dce1fb0965f1082c07e3 to your computer and use it in GitHub Desktop.
trying to make a nixos package script
{stdenv, fetchgit, xorg, glib, pkgconfig}:
stdenv.mkDerivation rec {
name = "keycount";
src = fetchgit {
url = "https://github.com/willghatch/keycount";
rev = "987b53057befe5b7edee6823f7d8c62a95042038";
sha256 = "0akqb1pvhxy1x4rcd8cmzbgavq0214s6g3z7gkws59dm67hfmkgl";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ xorg.libX11 xorg.xinput xorg.libXtst glib];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment