git.iko.soy/typeable/nixpkgs
on master help sign in
tensor: use date as version i/o git rev
commitb7d2ffeb46801729b2e5080fe8e7529cad81e78d authorPeter Hoeg <peter@hoeg.com> dateSat 15 Apr 2017, 16:02 (10 years ago) parent78e1843
1 file changed+15−15
pkgs/applications/networking/instant-messengers/tensor/default.nix+15−15
pkgs/applications/networking/instant-messengers/tensor/default.nix+15−15
@@ -1,32 +1,30 @@
11{ stdenv, fetchgit, qtbase, qtquickcontrols, qmakeHook, makeQtWrapper, makeDesktopItem }:
22
3−let
4− rev = "f3f3056d770d7fb4a21c610cee7936ee900569f5";
5−
6−in stdenv.mkDerivation rec {
7− name = "tensor-git-${stdenv.lib.strings.substring 0 8 rev}";
3+stdenv.mkDerivation rec {
4+ name = "tensor-git-${version}";
5+ version = "2017-02-21";
86
97 src = fetchgit {
10− url = "https://github.com/davidar/tensor.git";
8+ url = "https://github.com/davidar/tensor.git";
9+ rev = "f3f3056d770d7fb4a21c610cee7936ee900569f5";
10+ sha256 = "19in8c7a2hxsx2c4lj540w5c3pn1882645m21l91mcriynqr67k9";
1111 fetchSubmodules = true;
12− inherit rev;
13− sha256 = "19in8c7a2hxsx2c4lj540w5c3pn1882645m21l91mcriynqr67k9";
1412 };
1513
16− parallelBuilding = true;
14+ enableParallelBuilding = true;
1715
1816 buildInputs = [ qtbase qtquickcontrols ];
1917 nativeBuildInputs = [ qmakeHook makeQtWrapper ];
2018
2119 desktopItem = makeDesktopItem {
22− name = "tensor";
23− exec = "@bin@";
24− icon = "tensor.png";
25− comment = meta.description;
20+ name = "tensor";
21+ exec = "@bin@";
22+ icon = "tensor.png";
23+ comment = meta.description;
2624 desktopName = "Tensor Matrix Client";
2725 genericName = meta.description;
28− categories = "Chat;Utility";
29− mimeType = "text/xml";
26+ categories = "Chat;Utility";
27+ mimeType = "application/x-chat";
3028 };
3129
3230 installPhase = ''
@@ -51,5 +49,7 @@ in stdenv.mkDerivation rec {
5149 description = "Cross-platform Qt5/QML-based Matrix client";
5250 license = licenses.gpl3;
5351 maintainers = with maintainers; [ peterhoeg ];
52+ inherit (qtbase.meta) platforms;
53+ inherit version;
5454 };
5555}