2019-01-17 21:15:18 +00:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, python3, qmake, qtbase, qtquickcontrols, qtsvg, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pyotherside";
|
2019-02-04 17:24:31 +00:00
|
|
|
version = "1.5.4";
|
2019-01-17 21:15:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thp";
|
|
|
|
repo = "pyotherside";
|
|
|
|
rev = version;
|
2019-02-04 17:24:31 +00:00
|
|
|
sha256 = "1cmmsmzmis4a463p2fjlzbkpw8r53wfvq3mldyfgmi14dkxr3ln3";
|
2019-01-17 21:15:18 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|