nixpkgs/pkgs/desktops/deepin/go-lib/default.nix

39 lines
904 B
Nix
Raw Normal View History

2018-09-08 18:32:00 +03:00
{ stdenv, fetchFromGitHub, glib, xorg, gdk_pixbuf, pulseaudio,
2018-10-31 01:17:45 +03:00
mobile-broadband-provider-info, deepin }:
2018-09-08 18:32:00 +03:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "go-lib";
2018-10-31 03:16:21 +03:00
version = "1.3.0";
2018-09-08 18:32:00 +03:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
2018-10-31 03:16:21 +03:00
sha256 = "0g84v1adnnyqc1mv45n3wlvnivkm1fi8ywszzgwx8irl3iddfvxv";
2018-09-08 18:32:00 +03:00
};
buildInputs = [
glib
xorg.libX11
gdk_pixbuf
pulseaudio
mobile-broadband-provider-info
];
makeFlags = [
"PREFIX=$(out)"
"GOSITE_DIR=$(out)/share/go"
];
2018-09-08 18:32:00 +03:00
2018-10-31 01:17:45 +03:00
passthru.updateScript = deepin.updateScript { inherit name; };
2018-09-08 18:32:00 +03:00
meta = with stdenv.lib; {
description = "Go bindings for Deepin Desktop Environment development";
homepage = https://github.com/linuxdeepin/go-lib;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}