2018-10-30 23:17:45 +01:00
|
|
|
{ stdenv, fetchFromGitHub, deepin }:
|
2018-09-08 17:35:45 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "go-dbus-factory";
|
2019-06-22 14:26:34 +02:00
|
|
|
version = "0.9.0";
|
2018-09-08 17:35:45 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-06-22 14:26:34 +02:00
|
|
|
sha256 = "06fqyad9f50gcjsjkh7929yyaprahdjhnd0dr4gl2797a7wysl3f";
|
2018-09-08 17:35:45 +02:00
|
|
|
};
|
|
|
|
|
2018-11-27 18:23:56 +01:00
|
|
|
makeFlags = [ "PREFIX=${placeholder ''out''}" ];
|
2018-10-21 23:58:03 +02:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i -e 's:/share/gocode:/share/go:' Makefile
|
|
|
|
'';
|
2018-09-08 17:35:45 +02:00
|
|
|
|
2019-08-15 14:41:18 +02:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
|
2018-10-30 23:17:45 +01:00
|
|
|
|
2018-09-08 17:35:45 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GoLang DBus factory for the Deepin Desktop Environment";
|
|
|
|
homepage = https://github.com/linuxdeepin/go-dbus-factory;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|