Skip to content

Instantly share code, notes, and snippets.

@willghatch
willghatch / keycount.nix
Created September 7, 2019 18:43
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 ];