qosmic: init at 1.6.0

Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>

+72
+70
pkgs/applications/graphics/qosmic/default.nix
··· 1 + { mkDerivation 2 + , fetchFromGitHub 3 + , fetchpatch 4 + , qmake 5 + , wrapQtAppsHook 6 + , qtbase 7 + , pkg-config 8 + , lua 9 + , flam3 10 + , libxml2 11 + , libpng 12 + , libjpeg 13 + , lib 14 + }: 15 + 16 + mkDerivation rec { 17 + pname = "qosmic"; 18 + version = "1.6.0"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "bitsed"; 22 + repo = "qosmic"; 23 + rev = "v${version}"; 24 + sha256 = "13nw1mkdib14430r21mj352v62vi546vf184vyhxm7yjjygyra1w"; 25 + }; 26 + 27 + patches = [ 28 + # Allow overriding PREFIX (to install to $out, 29 + # written while creating this derivation) 30 + # https://github.com/bitsed/qosmic/pull/39 31 + (fetchpatch { 32 + name = "allow-overriding-PREFIX.patch"; 33 + url = "https://github.com/bitsed/qosmic/commit/77fb3a577b0710efae2a1d9ed97c26ae16f3a5ba.patch"; 34 + sha256 = "0v9hj9s78cb6bg8ca0wjkbr3c7ml1n51n8h4a70zpzzgzz7rli5b"; 35 + }) 36 + # Fix QButtonGroup include errors with Qt 5.11: 37 + # Will be part of the next post-1.6.0 release 38 + (fetchpatch { 39 + name = "fix-class-QButtonGroup-include-errors-with-Qt-5.11.patch"; 40 + url = "https://github.com/bitsed/qosmic/commit/3f6e1ea8d384a124dbc2d568171a4da798480752.patch"; 41 + sha256 = "0bp6b759plkqs32nvfpkfvf3qqzc9716k3ycwnjvwabbvpg1xwbl"; 42 + }) 43 + ]; 44 + 45 + nativeBuildInputs = [ qmake wrapQtAppsHook pkg-config ]; 46 + 47 + buildInputs = [ 48 + qtbase 49 + lua 50 + flam3 51 + libxml2 52 + libpng 53 + libjpeg 54 + ]; 55 + 56 + qmakeFlags = [ 57 + # Use pkg-config to correctly locate library paths 58 + "-config" "link_pkgconfig" 59 + ]; 60 + 61 + meta = with lib; { 62 + description = "A cosmic recursive flame fractal editor"; 63 + homepage = "https://github.com/bitsed/qosmic"; 64 + license = licenses.gpl3Plus; 65 + maintainers = [ maintainers.raboof ]; 66 + # It might be possible to make it work on OSX, 67 + # but this has not been tested. 68 + platforms = platforms.linux; 69 + }; 70 + }
+2
pkgs/top-level/all-packages.nix
··· 6365 6365 6366 6366 qjoypad = callPackage ../tools/misc/qjoypad { }; 6367 6367 6368 + qosmic = libsForQt5.callPackage ../applications/graphics/qosmic { }; 6369 + 6368 6370 qownnotes = libsForQt5.callPackage ../applications/office/qownnotes { }; 6369 6371 6370 6372 qpdf = callPackage ../development/libraries/qpdf { };