Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 python3, 6 qmake, 7 qtbase, 8 qtquickcontrols, 9 qtsvg, 10 ncurses, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "pyotherside"; 15 version = "1.6.2"; 16 17 src = fetchFromGitHub { 18 owner = "thp"; 19 repo = "pyotherside"; 20 rev = version; 21 sha256 = "sha256-2OYVULNW9EzssqodiVtL2EmhTSbefXpLkub3zFvNwNo="; 22 }; 23 24 nativeBuildInputs = [ qmake ]; 25 buildInputs = [ 26 python3 27 qtbase 28 qtquickcontrols 29 qtsvg 30 ncurses 31 ]; 32 33 dontWrapQtApps = true; 34 35 patches = [ ./qml-path.patch ]; 36 installTargets = [ "sub-src-install_subtargets" ]; 37 38 meta = with lib; { 39 description = "Asynchronous Python 3 Bindings for Qt 5"; 40 homepage = "https://thp.io/2011/pyotherside/"; 41 license = licenses.isc; 42 maintainers = [ maintainers.mic92 ]; 43 }; 44}