lol

pyotherside: init at 1.5.3

+43
+29
pkgs/development/libraries/pyotherside/default.nix
··· 1 + { stdenv, fetchFromGitHub 2 + , python3, qmake, qtbase, qtquickcontrols, qtsvg, ncurses }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "pyotherside"; 6 + version = "1.5.3"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "thp"; 10 + repo = "pyotherside"; 11 + rev = version; 12 + sha256 = "1xaw1aarj8gpgpm4z3lk8klbssadrsf3xdyzqx10zcwy16amka7k"; 13 + }; 14 + 15 + nativeBuildInputs = [ qmake ]; 16 + buildInputs = [ 17 + python3 qtbase qtquickcontrols qtsvg ncurses 18 + ]; 19 + 20 + patches = [ ./qml-path.patch ]; 21 + installTargets = [ "sub-src-install_subtargets" ]; 22 + 23 + meta = with stdenv.lib; { 24 + description = "Asynchronous Python 3 Bindings for Qt 5"; 25 + homepage = https://thp.io/2011/pyotherside/; 26 + license = licenses.isc; 27 + maintainers = [ maintainers.mic92 ]; 28 + }; 29 + }
+12
pkgs/development/libraries/pyotherside/qml-path.patch
··· 1 + diff -Naur --strip-trailing-cr source.org/src/src.pro source/src/src.pro 2 + --- source.org/src/src.pro 1970-01-01 01:00:01.000000000 +0100 3 + +++ source/src/src.pro 2019-01-17 19:14:46.256821852 +0000 4 + @@ -10,7 +10,7 @@ 5 + CONFIG += qt plugin 6 + QT += qml quick svg 7 + 8 + -target.path = $$[QT_INSTALL_QML]/$$PLUGIN_IMPORT_PATH 9 + +target.path = $$NIX_OUTPUT_QML/$$PLUGIN_IMPORT_PATH 10 + INSTALLS += target 11 + 12 + qmldir.files += $$_PRO_FILE_PWD_/qmldir $$_PRO_FILE_PWD_/pyotherside.qmltypes
+2
pkgs/top-level/all-packages.nix
··· 12118 12118 qtxmlpatterns = qt59.qtxmlpatterns; 12119 12119 }; 12120 12120 12121 + pyotherside = libsForQt5.callPackage ../development/libraries/pyotherside {}; 12122 + 12121 12123 re2 = callPackage ../development/libraries/re2 { }; 12122 12124 12123 12125 qbs = libsForQt5.callPackage ../development/tools/build-managers/qbs { };