Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
793 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
python3,
qmake,
qtbase,
qtquickcontrols,
qtsvg,
ncurses,
}:
stdenv.mkDerivation rec {
pname = "pyotherside";
version = "1.6.2";
src = fetchFromGitHub {
owner = "thp";
repo = "pyotherside";
rev = version;
sha256 = "sha256-2OYVULNW9EzssqodiVtL2EmhTSbefXpLkub3zFvNwNo=";
};
nativeBuildInputs = [ qmake ];
buildInputs = [
python3
qtbase
qtquickcontrols
qtsvg
ncurses
];
dontWrapQtApps = true;
patches = [ ./qml-path.patch ];
installTargets = [ "sub-src-install_subtargets" ];
meta = with lib; {
description = "Asynchronous Python 3 Bindings for Qt 5";
homepage = "https://thp.io/2011/pyotherside/";
license = licenses.isc;
maintainers = [ maintainers.mic92 ];
};
}