diff options
author | Gabriel Ebner <gebner@gebner.org> | 2020-01-03 20:14:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 20:14:07 +0100 |
commit | 3604ae8394483d6a5e68a026cec0032aa91e592c (patch) | |
tree | 0c66aa67b117ec1ab4dc30085b1fd8d2fbb53999 /pkgs/applications/science/electronics/kicad/unstable.nix | |
parent | f4adb7c4d897485559c4f8b35f1be653e28e6893 (diff) | |
parent | e4786f3a1c75b6e2cc9b77063d0937801ce43b11 (diff) | |
download | nixpkgs-3604ae8394483d6a5e68a026cec0032aa91e592c.tar nixpkgs-3604ae8394483d6a5e68a026cec0032aa91e592c.tar.gz nixpkgs-3604ae8394483d6a5e68a026cec0032aa91e592c.tar.bz2 nixpkgs-3604ae8394483d6a5e68a026cec0032aa91e592c.tar.lz nixpkgs-3604ae8394483d6a5e68a026cec0032aa91e592c.tar.xz nixpkgs-3604ae8394483d6a5e68a026cec0032aa91e592c.tar.zst nixpkgs-3604ae8394483d6a5e68a026cec0032aa91e592c.zip |
Merge pull request #74259 from Evils-Devils/kicad-unstable
kicad: cleanup, fix and update
Diffstat (limited to 'pkgs/applications/science/electronics/kicad/unstable.nix')
-rw-r--r-- | pkgs/applications/science/electronics/kicad/unstable.nix | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/pkgs/applications/science/electronics/kicad/unstable.nix b/pkgs/applications/science/electronics/kicad/unstable.nix deleted file mode 100644 index df0d9932b8a..00000000000 --- a/pkgs/applications/science/electronics/kicad/unstable.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ wxGTK, lib, stdenv, fetchFromGitHub, cmake, libGLU, libGL, zlib -, libX11, gettext, glew, glm, cairo, curl, openssl, boost, pkgconfig -, doxygen, pcre, libpthreadstubs, libXdmcp - -, oceSupport ? true, opencascade -, ngspiceSupport ? true, libngspice -, scriptingSupport ? true, swig, python, wxPython -}: - -assert ngspiceSupport -> libngspice != null; - -with lib; -stdenv.mkDerivation rec { - pname = "kicad-unstable"; - version = "2018-06-12"; - - src = fetchFromGitHub { - owner = "KICad"; - repo = "kicad-source-mirror"; - rev = "bc7bd107d980da147ad515aeae0469ddd55c2368"; - sha256 = "11nsx52pd3jr2wbzr11glmcs1a9r7z1mqkqx6yvlm0awbgd8qlv8"; - }; - - postPatch = '' - substituteInPlace CMakeModules/KiCadVersion.cmake \ - --replace no-vcs-found ${version} - ''; - - cmakeFlags = - optionals (oceSupport) [ "-DKICAD_USE_OCE=ON" "-DOCE_DIR=${opencascade}" ] - ++ optional (ngspiceSupport) "-DKICAD_SPICE=ON" - ++ optionals (scriptingSupport) [ - "-DKICAD_SCRIPTING=ON" - "-DKICAD_SCRIPTING_MODULES=ON" - "-DKICAD_SCRIPTING_WXPYTHON=ON" - # nix installs wxPython headers in wxPython package, not in wxwidget - # as assumed. We explicitely set the header location. - "-DCMAKE_CXX_FLAGS=-I${wxPython}/include/wx-3.0" - ]; - - nativeBuildInputs = [ cmake doxygen pkgconfig ]; - buildInputs = [ - libGLU libGL zlib libX11 wxGTK pcre libXdmcp gettext glew glm libpthreadstubs - cairo curl openssl boost - ] ++ optional (oceSupport) opencascade - ++ optional (ngspiceSupport) libngspice - ++ optionals (scriptingSupport) [ swig python wxPython ]; - - meta = { - description = "Free Software EDA Suite, Nightly Development Build"; - homepage = http://www.kicad-pcb.org/; - license = licenses.gpl2; - maintainers = with maintainers; [ berce ]; - platforms = with platforms; linux; - broken = true; - }; -} |