nixpkgs-suyu/pkgs/desktops/deepin/go-dbus-generator/default.nix

35 lines
787 B
Nix
Raw Normal View History

2018-10-30 23:17:45 +01:00
{ stdenv, fetchFromGitHub, go, go-lib, deepin }:
2018-09-08 17:33:13 +02:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "go-dbus-generator";
version = "0.6.6";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "17rzicqizyyrhjjf4rild7py1cyd07b2zdcd9nabvwn4gvj6lhfb";
};
nativeBuildInputs = [
go
go-lib
];
makeFlags = [
"PREFIX=$(out)"
"GOCACHE=off"
2018-09-08 17:33:13 +02:00
];
2018-10-30 23:17:45 +01:00
passthru.updateScript = deepin.updateScript { inherit name; };
2018-09-08 17:33:13 +02:00
meta = with stdenv.lib; {
description = "Convert dbus interfaces to go-lang or qml wrapper code";
homepage = https://github.com/linuxdeepin/go-dbus-generator;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}