git.iko.soy/typeable/nixpkgs
on master help sign in
qtinstaller: init at 2.0.3; adapted from expression by @spacefrogg

See #23620

commitf4289c8b19b7e79479457b670741f5f85efc460a authorMichael Raskin <7c6f434c@mail.ru> dateMon 1 May 2017, 22:30 (10 years ago) parent4c576fd
2 files changed+40
pkgs/development/libraries/qtinstaller/default.nix+38 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/qtinstaller/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ stdenv, fetchurl, qtdeclarative , qttools, qtbase, qmakeHook }:
2+
3+stdenv.mkDerivation rec {
4+ name = "qtinstaller";
5+ buildInputs = [ qtdeclarative qttools qtbase qmakeHook ];
6+ version = "2.0.3";
7+ src = fetchurl {
8+ url = "http://download.qt.io/official_releases/qt-installer-framework/${version}/qt-installer-framework-opensource-${version}-src.tar.gz";
9+ sha256 = "003gwjg02isw8qjyka377g1ahlisfyi44l6xfa4hvvdgqqq0hy2f";
10+ name = "qt-installer-framework-opensource-src-${version}.tar.gz";
11+ };
12+
13+ outputs = [ "out" "dev" "doc" ];
14+
15+ installPhase = ''
16+ mkdir -p $out/{bin,lib,share/qt-installer-framework}
17+ cp -a bin/{archivegen,binarycreator,devtool,installerbase,repogen} $out/bin
18+ cp -a lib/{libinstaller.so*,lib7z.a} $out/lib
19+ cp -a examples $out/share/qt-installer-framework/
20+ '';
21+
22+ postFixup = ''
23+ moveToOutput "bin/archivegen" "$out"
24+ moveToOutput "bin/binarycreator" "$out"
25+ moveToOutput "bin/devtool" "$out"
26+ moveToOutput "bin/installerbase" "$out"
27+ moveToOutput "bin/repogen" "$out"
28+ moveToOutput "share" "$doc"
29+ moveToOutput "lib/libinstaller.so" "$out"
30+ moveToOutput "lib/libinstaller.so.1" "$out"
31+ moveToOutput "lib/libinstaller.so.1.0" "$out"
32+ moveToOutput "lib/libinstaller.so.1.0.0" "$out"
33+ '';
34+
35+ meta = (qtbase.meta) // {
36+ description = ''Qt installer framework'';
37+ };
38+}
pkgs/top-level/all-packages.nix+2
@@ -9688,6 +9688,8 @@ with pkgs;
96889688 withQt5 = true;
96899689 };
96909690
9691+ qtinstaller = callPackage ../development/libraries/qtinstaller { };
9692+
96919693 qtkeychain = callPackage ../development/libraries/qtkeychain {
96929694 withQt5 = true;
96939695 };