Skip to content

Instantly share code, notes, and snippets.

@aswan89
Created July 18, 2017 19:58
Show Gist options
  • Save aswan89/080086786bcfa516ac73336f0ac67b7e to your computer and use it in GitHub Desktop.
Save aswan89/080086786bcfa516ac73336f0ac67b7e to your computer and use it in GitHub Desktop.
example wxwidgets 3.1 nix expression
{stdenv, pkgconfig, gtk3, fetchurl}:
stdenv.mkDerivation {
name = "wxWidgets-3.1.0";
src = fetchurl {
url = https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2;
sha1 = "2170839cfa9d9322e8ee8368b21a15a2497b4f11";
};
nativeBuildInputs = [pkgconfig gtk3];
configureFlags = ["--with-gtk=3"];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment