deepin.dtkcore: 2.0.14 -> 2.1.1

This commit is contained in:
José Romildo Malaquias 2019-11-11 22:08:40 -03:00
parent 75da2d2b51
commit c745bf3d20
1 changed files with 6 additions and 5 deletions

View File

@ -2,13 +2,13 @@
mkDerivation rec { mkDerivation rec {
pname = "dtkcore"; pname = "dtkcore";
version = "2.0.14"; version = "2.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "linuxdeepin"; owner = "linuxdeepin";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0yc6zx8rhzg9mj2brggcsr1jy1pzfvgqy1h305y2dwnx5haazd04"; sha256 = "0xdh6mmrv8yr6mjmlwj0fv037parkkwfwlaibcbrskwxqp9iri1y";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -31,12 +31,13 @@ mkDerivation rec {
qmakeFlags = [ qmakeFlags = [
"DTK_VERSION=${version}" "DTK_VERSION=${version}"
"LIB_INSTALL_DIR=${placeholder "out"}/lib"
"MKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs" "MKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs"
]; ];
postFixup = '' postFixup = ''
chmod +x $out/lib/dtk2/*.py chmod +x $out/lib/libdtk-${version}/DCore/bin/*.py
wrapPythonProgramsIn "$out/lib/dtk2" "$out $pythonPath" wrapPythonProgramsIn "$out/lib/libdtk-${version}/DCore/bin" "$out $pythonPath"
searchHardCodedPaths $out # debugging searchHardCodedPaths $out # debugging
''; '';
@ -45,7 +46,7 @@ mkDerivation rec {
passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; }; passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Deepin tool kit core modules"; description = "Deepin tool kit core library";
homepage = https://github.com/linuxdeepin/dtkcore; homepage = https://github.com/linuxdeepin/dtkcore;
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.linux; platforms = platforms.linux;