nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 32 lines 892 B view raw
1{ stdenv, fetchgit, qtbase, qtquick1, qmake, qtmultimedia }: 2 3stdenv.mkDerivation rec { 4 version = "0.1.0"; 5 name = "qmltermwidget-${version}"; 6 7 src = fetchgit { 8 url = "https://github.com/Swordfish90/qmltermwidget.git"; 9 rev = "refs/tags/v${version}"; 10 sha256 = "0ca500mzcqglkj0i6km0z512y3a025dbm24605xyv18l6y0l2ny3"; 11 }; 12 13 buildInputs = [ qtbase qtquick1 qtmultimedia ]; 14 nativeBuildInputs = [ qmake ]; 15 16 patchPhase = '' 17 substituteInPlace qmltermwidget.pro \ 18 --replace '$$[QT_INSTALL_QML]' "/$qtQmlPrefix/" 19 ''; 20 21 installFlags = [ "INSTALL_ROOT=$(out)" ]; 22 23 enableParallelBuilding = true; 24 25 meta = { 26 description = "A QML port of qtermwidget"; 27 homepage = https://github.com/Swordfish90/qmltermwidget; 28 license = stdenv.lib.licenses.gpl2; 29 platforms = stdenv.lib.platforms.linux; 30 maintainers = with stdenv.lib.maintainers; [ skeidel ]; 31 }; 32}