diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2018-09-08 12:32:00 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2018-09-08 12:32:00 -0300 |
commit | a36e9a415c5e575c044175c0d7f0f6f7d41efa16 (patch) | |
tree | 6b358999002e01d65c00507e2a7faf1882aff596 /pkgs/desktops | |
parent | 2c7c248a534bab9f9f6adbfb1e4c31934574d2ed (diff) |
go-lib: init at 1.2.16.1
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/deepin/default.nix | 1 | ||||
-rw-r--r-- | pkgs/desktops/deepin/go-lib/default.nix | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix index dff959bd9b08d..4aa5e6c3bbb8f 100644 --- a/pkgs/desktops/deepin/default.nix +++ b/pkgs/desktops/deepin/default.nix @@ -18,6 +18,7 @@ let dtkcore = callPackage ./dtkcore { }; dtkwidget = callPackage ./dtkwidget { }; go-gir-generator = callPackage ./go-gir-generator { }; + go-lib = callPackage ./go-lib { }; qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { }; qt5integration = callPackage ./qt5integration { }; diff --git a/pkgs/desktops/deepin/go-lib/default.nix b/pkgs/desktops/deepin/go-lib/default.nix new file mode 100644 index 0000000000000..44de8889df28a --- /dev/null +++ b/pkgs/desktops/deepin/go-lib/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, glib, xorg, gdk_pixbuf, pulseaudio, + mobile-broadband-provider-info +}: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "go-lib"; + version = "1.2.16.1"; + + src = fetchFromGitHub { + owner = "linuxdeepin"; + repo = pname; + rev = version; + sha256 = "0nl35dm0bdca38qhnzdpsv6b0vds9ccvm4c86rs42a7c6v655b1q"; + }; + + buildInputs = [ + glib + xorg.libX11 + gdk_pixbuf + pulseaudio + mobile-broadband-provider-info + ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + 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 ]; + }; +} |