Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at haskell-updates 57 lines 1.0 kB view raw
1{ 2 lib, 3 mkDerivation, 4 fetchFromGitHub, 5 perl, 6 qmake, 7 qtdeclarative, 8}: 9 10mkDerivation { 11 pname = "qtfeedback"; 12 version = "unstable-2018-09-03"; 13 14 outputs = [ 15 "out" 16 "dev" 17 ]; 18 19 src = fetchFromGitHub { 20 owner = "qt"; 21 repo = "qtfeedback"; 22 rev = "a14bd0bb1373cde86e09e3619fb9dc70f34c71f2"; 23 sha256 = "0kiiffvriagql1cark6g1qxy7l9c3q3s13cx3s2plbz19nlnikj7"; 24 }; 25 26 nativeBuildInputs = [ 27 perl 28 qmake 29 ]; 30 31 buildInputs = [ 32 qtdeclarative 33 ]; 34 35 qmakeFlags = [ "CONFIG+=git_build" ]; 36 37 doCheck = true; 38 39 postFixup = '' 40 # Drop QMAKE_PRL_BUILD_DIR because it references the build dir 41 find "$out/lib" -type f -name '*.prl' \ 42 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; 43 ''; 44 45 meta = with lib; { 46 description = "Qt Tactile Feedback"; 47 homepage = "https://github.com/qt/qtfeedback"; 48 license = with licenses; [ 49 lgpl3Only # or 50 gpl2Plus 51 ]; 52 maintainers = with maintainers; [ 53 dotlambda 54 OPNA2608 55 ]; 56 }; 57}