nixpkgs/pkgs/development/libraries/pyotherside/default.nix

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

32 lines
759 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub
2019-01-17 21:15:18 +00:00
, python3, qmake, qtbase, qtquickcontrols, qtsvg, ncurses }:
stdenv.mkDerivation rec {
pname = "pyotherside";
2022-08-11 23:01:00 +00:00
version = "1.6.0";
2019-01-17 21:15:18 +00:00
src = fetchFromGitHub {
owner = "thp";
repo = "pyotherside";
rev = version;
2022-08-11 23:01:00 +00:00
sha256 = "sha256-IIvL704snJIJbigAgJZ3WWg5a/mX/8qzgFN+dBEClG8=";
2019-01-17 21:15:18 +00:00
};
nativeBuildInputs = [ qmake ];
buildInputs = [
python3 qtbase qtquickcontrols qtsvg ncurses
];
dontWrapQtApps = true;
2019-01-17 21:15:18 +00:00
patches = [ ./qml-path.patch ];
installTargets = [ "sub-src-install_subtargets" ];
meta = with lib; {
2019-01-17 21:15:18 +00:00
description = "Asynchronous Python 3 Bindings for Qt 5";
homepage = "https://thp.io/2011/pyotherside/";
2019-01-17 21:15:18 +00:00
license = licenses.isc;
maintainers = [ maintainers.mic92 ];
};
}