Merge pull request #46373 from romildo/upd.deepin

Add more deepin packages
This commit is contained in:
xeji 2018-09-09 15:01:21 +02:00 committed by GitHub
commit 42be1a56c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 189 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, jq, libxml2, go-dbus-generator }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "dbus-factory";
version = "3.1.17";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "1llq8wzgikgpzj7z36fyzk8kjych2h9nzi3x6zv53z0xc1xn4256";
};
nativeBuildInputs = [
jq
libxml2
go-dbus-generator
];
makeFlags = [ "GOPATH=$(out)/share/gocode" ];
meta = with stdenv.lib; {
description = "Generates static DBus bindings for Golang and QML at build-time";
homepage = https://github.com/linuxdeepin/dbus-factory;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "deepin-sound-theme-${version}";
version = "15.10.3";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-sound-theme";
rev = version;
sha256 = "1sw4nrn7q7wk1hpicm05apyc0mihaw42iqm52wb8ib8gm1qiylr9";
};
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Deepin sound theme";
homepage = https://github.com/linuxdeepin/deepin-sound-theme;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}

View File

@ -3,6 +3,7 @@
let
packages = self: with self; {
dbus-factory = callPackage ./dbus-factory { };
dde-qt-dbus-factory = callPackage ./dde-qt-dbus-factory { };
deepin-gettext-tools = callPackage ./deepin-gettext-tools { };
deepin-gtk-theme = callPackage ./deepin-gtk-theme { };
@ -10,12 +11,17 @@ let
deepin-menu = callPackage ./deepin-menu { };
deepin-mutter = callPackage ./deepin-mutter { };
deepin-shortcut-viewer = callPackage ./deepin-shortcut-viewer { };
deepin-sound-theme = callPackage ./deepin-sound-theme { };
deepin-terminal = callPackage ./deepin-terminal {
inherit (pkgs.gnome3) libgee vte;
wnck = pkgs.libwnck3;
};
dtkcore = callPackage ./dtkcore { };
dtkwidget = callPackage ./dtkwidget { };
go-dbus-factory = callPackage ./go-dbus-factory { };
go-dbus-generator = callPackage ./go-dbus-generator { };
go-gir-generator = callPackage ./go-gir-generator { };
go-lib = callPackage ./go-lib { };
qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { };
qt5integration = callPackage ./qt5integration { };

View File

@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "go-dbus-factory";
version = "0.0.7.1";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "0gj2xxv45gh7wr5ry3mcsi46kdsyq9nbd7znssn34kapiv40ixcx";
};
makeFlags = [
"PREFIX=$(out)"
];
meta = with stdenv.lib; {
description = "GoLang DBus factory for the Deepin Desktop Environment";
homepage = https://github.com/linuxdeepin/go-dbus-factory;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, go, go-lib }:
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)"
"GOPATH=$(GGOPATH):${go-lib}/share/gocode"
"HOME=$(TMP)"
];
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 ];
};
}

View File

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, pkgconfig, go, gobjectIntrospection, libgudev }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "go-gir-generator";
version = "1.0.4";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "0yi3lsgkxi8ghz2c7msf2df20jxkvzj8s47slvpzz4m57i82vgzl";
};
nativeBuildInputs = [
pkgconfig
go
];
buildInputs = [
gobjectIntrospection
libgudev
];
makeFlags = [
"PREFIX=$(out)"
"HOME=$(TMP)"
];
meta = with stdenv.lib; {
description = "Generate static golang bindings for GObject";
homepage = https://github.com/linuxdeepin/go-gir-generator;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -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 ];
};
}