Advertisement
Guest User

Untitled

a guest
Nov 15th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. File "/tmp/nix-build-krita-4.0.0-pre2c.drv-0/krita-4.0.0-prealpha.2/cmake/modules/FindSIP.py", line 8, in <module>
  2. import sipconfig
  3. ImportError: No module named sipconfig
  4.  
  5. { python36, python36Packages, stdenv, lib, fetchurl, fetchpatch, cmake, extra-cmake-modules
  6. , karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons
  7. , kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem
  8. , kio, kcrash
  9. , boost, libraw, fftw, eigen, exiv2, lcms2, gsl, openexr
  10. , openjpeg, opencolorio, vc, poppler_qt5, curl, ilmbase
  11. , qtmultimedia, qtx11extras
  12. }:
  13.  
  14. stdenv.mkDerivation rec {
  15. name = "krita-${version}";
  16. version = "4.0.0-pre2c";
  17.  
  18. src = fetchurl {
  19. url = "https://download.kde.org/unstable/krita/4.0.0-prealpha.2/krita-4.0.0-prealpha.2.tar.gz";
  20. sha256 = "0q8mxz7d24m6aw3cdpx3ibc33ymi89rnvj0yd3sam44x7d32lyb0";
  21. };
  22.  
  23. nativeBuildInputs = [ cmake extra-cmake-modules ];
  24.  
  25. # propagateBuildInputs = with python36.withPackages(ps: [ps.sip ps.pyqt5]); [];
  26. propagateBuildInputs = [python36 python36Packages.sip python36Packages.pyqt5];
  27. buildInputs = [
  28. karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons
  29. ki18n kitemmodels kitemviews kwindowsystem kio kcrash
  30. boost libraw fftw eigen exiv2 lcms2 gsl openexr
  31. openjpeg opencolorio vc poppler_qt5 curl ilmbase
  32. qtmultimedia qtx11extras
  33. ];
  34.  
  35. NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
  36.  
  37. meta = with lib; {
  38. description = "A free an open source painting application";
  39. homepage = https://krita.org/;
  40. maintainers = with maintainers; [ abbradar ];
  41. platforms = platforms.linux;
  42. license = licenses.gpl2;
  43. };
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement