3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/deepin/go-dbus-factory/default.nix

30 lines
775 B
Nix
Raw Normal View History

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
};
makeFlags = [ "PREFIX=${placeholder "out"}" ];
postPatch = ''
sed -i -e 's:/share/gocode:/share/go:' Makefile
'';
2018-09-08 16:35:45 +01: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";
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 ];
};
}