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