@@ -0,0 +1,28 @@
1+{ stdenv, fetchFromGitHub, cmake, mesa, wxGTK, zlib, libX11, gettext, glew, glm, cairo, curl, openssl, boost, pkgconfig, doxygen }:
2+
3+stdenv.mkDerivation rec {
4+ name = "kicad-unstable-${version}";
5+ version = "2017-12-11";
6+
7+ src = fetchFromGitHub {
8+ owner = "KICad";
9+ repo = "kicad-source-mirror";
10+ rev = "1955f252265c38a313f6c595d6c4c637f38fd316";
11+ sha256 = "15cc81h7nh5dk6gj6mc4ylcgdznfriilhb43n1g3xwyq3s8iaibz";
12+ };
13+
14+ cmakeFlags = ''
15+ -DKICAD_SKIP_BOOST=ON
16+ '';
17+
18+ nativeBuildInputs = [ pkgconfig ];
19+ buildInputs = [ cmake mesa wxGTK zlib libX11 gettext glew glm cairo curl openssl boost doxygen ];
20+
21+ meta = {
22+ description = "Free Software EDA Suite, Nightly Development Build";
23+ homepage = http://www.kicad-pcb.org/;
24+ license = stdenv.lib.licenses.gpl2;
25+ maintainers = with stdenv.lib.maintainers; [ berce ];
26+ platforms = with stdenv.lib.platforms; linux;
27+ };
28+}