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

30 lines
734 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";
2020-01-22 14:38:31 +00:00
version = "1.5.9";
2019-01-17 21:15:18 +00:00
src = fetchFromGitHub {
owner = "thp";
repo = "pyotherside";
rev = version;
2020-01-22 14:38:31 +00:00
sha256 = "1k1fdsinysgx5gp6q62jiwcyiklakmjv6wbi1s2659am96vz3zj8";
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 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 ];
};
}