2019-01-17 22:15:18 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, python3, qmake, qtbase, qtquickcontrols, qtsvg, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pyotherside";
|
2019-07-02 10:37:35 +02:00
|
|
|
version = "1.5.8";
|
2019-01-17 22:15:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thp";
|
|
|
|
repo = "pyotherside";
|
|
|
|
rev = version;
|
2019-07-02 10:37:35 +02:00
|
|
|
sha256 = "0dnsvyg990ln3bdjdyc5b4lbb63wcjij0skq8pb4x4jglfy7vz4z";
|
2019-01-17 22:15:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
buildInputs = [
|
|
|
|
python3 qtbase qtquickcontrols qtsvg ncurses
|
|
|
|
];
|
|
|
|
|
|
|
|
patches = [ ./qml-path.patch ];
|
|
|
|
installTargets = [ "sub-src-install_subtargets" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Asynchronous Python 3 Bindings for Qt 5";
|
|
|
|
homepage = https://thp.io/2011/pyotherside/;
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|