Files
nixpkgs/pkgs/development/libraries/pyotherside/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

45 lines
791 B
Nix

{
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 = {
description = "Asynchronous Python 3 Bindings for Qt 5";
homepage = "https://thp.io/2011/pyotherside/";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.mic92 ];
};
}