diff options
author | Sven Keidel <svenkeidel@googlemail.com> | 2015-01-30 22:48:41 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-01-31 19:23:45 +0100 |
commit | b50cabf2d4c1175da48af4df3132b246aa1c8d12 (patch) | |
tree | e2453713327d5171866963e9e966802ba3fb6a52 /pkgs/development/libraries/qmltermwidget/default.nix | |
parent | 59d1d46088e7eea23012a966acde7a055c6955d0 (diff) | |
download | nixpkgs-b50cabf2d4c1175da48af4df3132b246aa1c8d12.tar nixpkgs-b50cabf2d4c1175da48af4df3132b246aa1c8d12.tar.gz nixpkgs-b50cabf2d4c1175da48af4df3132b246aa1c8d12.tar.bz2 nixpkgs-b50cabf2d4c1175da48af4df3132b246aa1c8d12.tar.lz nixpkgs-b50cabf2d4c1175da48af4df3132b246aa1c8d12.tar.xz nixpkgs-b50cabf2d4c1175da48af4df3132b246aa1c8d12.tar.zst nixpkgs-b50cabf2d4c1175da48af4df3132b246aa1c8d12.zip |
cool-old-term: rename to cool-retro-term (close #6071)
The project has changed its name to cool-retro-term. The project also added a dependency that is included as a submodule. I added this dependency as a separate expression.
Diffstat (limited to 'pkgs/development/libraries/qmltermwidget/default.nix')
-rw-r--r-- | pkgs/development/libraries/qmltermwidget/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qmltermwidget/default.nix b/pkgs/development/libraries/qmltermwidget/default.nix new file mode 100644 index 00000000000..7fcedab199b --- /dev/null +++ b/pkgs/development/libraries/qmltermwidget/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchgit, qt5 }: + +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 = [ qt5 ]; + + patchPhase = '' + substituteInPlace qmltermwidget.pro \ + --replace '$$[QT_INSTALL_QML]' "/lib/qml/" + ''; + + configurePhase = "qmake PREFIX=$out"; + + installPhase=''make INSTALL_ROOT="$out" install''; + + enableParallelBuilding = true; + + meta = { + description = "This project is a QML port of qtermwidget"; + homepage = "https://github.com/Swordifish90/qmltermwidget"; + licenses = with stdenv.lib.licenses; [ gpl2 ]; + platforms = stdenv.lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ skeidel ]; + }; +} |