mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
005dab1a7a
This reverts commit 2d6ea2cc30
.
33 lines
874 B
Nix
33 lines
874 B
Nix
{ stdenv, fetchgit, qtbase, qtquick1, qmakeHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.1.0";
|
|
name = "qmltermwidget-${version}";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/Swordfish90/qmltermwidget.git";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "19pz27jsdpa3pybj8sghmmd1zqgr73js1mp3875rhx158dav37nz";
|
|
};
|
|
|
|
buildInputs = [ qtbase qtquick1 ];
|
|
nativeBuildInputs = [ qmakeHook ];
|
|
|
|
patchPhase = ''
|
|
substituteInPlace qmltermwidget.pro \
|
|
--replace '$$[QT_INSTALL_QML]' "/lib/qt5/qml/"
|
|
'';
|
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "A QML port of qtermwidget";
|
|
homepage = "https://github.com/Swordfish90/qmltermwidget";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = with stdenv.lib.maintainers; [ skeidel ];
|
|
};
|
|
}
|