2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchmtn, qt4, qmake4Hook, pkg-config, graphviz }:
|
2010-11-02 12:23:01 +00:00
|
|
|
|
2010-11-02 19:19:25 +00:00
|
|
|
let version = "1.0-mtn-head"; in
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "guitone";
|
|
|
|
inherit version;
|
2010-11-02 12:23:01 +00:00
|
|
|
|
2010-11-02 19:19:25 +00:00
|
|
|
#src = fetchurl {
|
|
|
|
# url = "${meta.homepage}/count.php/from=default/${version}/${name}.tgz";
|
|
|
|
# sha256 = "08kcyar6p6v5z4dq6q6c1dhyxc2jj49qcd6lj3rdn1rb9hz4n7ms";
|
|
|
|
#};
|
|
|
|
|
|
|
|
src = fetchmtn {
|
|
|
|
dbs = ["mtn://code.monotone.ca/guitone"];
|
2014-08-31 21:37:57 +01:00
|
|
|
selector = "3a728afdbd3943b1d86c2a249b1e2ede7bf64c27";
|
|
|
|
sha256 = "01vs8m00phs5pl75mjkpdarynfpkqrg0qf4rsn95czi3q6nxiaq5";
|
2010-11-02 19:19:25 +00:00
|
|
|
branch = "net.venge.monotone.guitone";
|
2010-11-02 12:23:01 +00:00
|
|
|
};
|
|
|
|
|
2017-12-05 14:59:56 +00:00
|
|
|
patches = [ ./parallel-building.patch ];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ qt4 qmake4Hook graphviz ];
|
2010-11-02 12:23:01 +00:00
|
|
|
|
2016-07-17 15:41:34 +01:00
|
|
|
qmakeFlags = [ "guitone.pro" ];
|
|
|
|
|
2010-11-02 12:23:01 +00:00
|
|
|
meta = {
|
|
|
|
description = "Qt4 based GUI for monotone";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://guitone.thomaskeller.biz";
|
|
|
|
downloadPage = "https://code.monotone.ca/p/guitone/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl3;
|
2010-11-02 12:23:01 +00:00
|
|
|
inherit (qt4.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|