Merge pull request #277418 from OPNA2608/update/cmake-extras
lomiri.cmake-extras: unstable-2022-11-21 -> 1.7
This commit is contained in:
commit
b639f763cb
|
@ -5,21 +5,21 @@
|
||||||
, qtbase
|
, qtbase
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "cmake-extras";
|
pname = "cmake-extras";
|
||||||
version = "unstable-2022-11-21";
|
version = "1.7";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "ubports";
|
owner = "ubports";
|
||||||
repo = "development/core/cmake-extras";
|
repo = "development/core/cmake-extras";
|
||||||
rev = "99aab4514ee182cb7a94821b4b51e4d8cb9a82ef";
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-axj5QxgDrHy0HiZkfrbm22hVvSCKkWFoQC8MdQMm9tg=";
|
hash = "sha256-5bLMk21pSZkuU3jAGTnjPc9ZrvVZqMUWSfFgkTtkYLw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# We have nothing to build here, no need to depend on a C compiler
|
# We have nothing to build here, no need to depend on a C compiler
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace 'project(cmake-extras)' 'project(cmake-extras NONE)'
|
--replace 'project(cmake-extras' 'project(cmake-extras LANGUAGES NONE'
|
||||||
|
|
||||||
# This is in a function that reverse dependencies use to determine where to install their files to
|
# This is in a function that reverse dependencies use to determine where to install their files to
|
||||||
substituteInPlace src/QmlPlugins/QmlPluginsConfig.cmake \
|
substituteInPlace src/QmlPlugins/QmlPluginsConfig.cmake \
|
||||||
|
@ -46,4 +46,4 @@ stdenvNoCC.mkDerivation {
|
||||||
maintainers = teams.lomiri.members;
|
maintainers = teams.lomiri.members;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user