lomiri.cmake-extras: unstable-2022-11-21 -> 1.7
This commit is contained in:
parent
e613b63475
commit
142444767e
@ -5,21 +5,21 @@
|
||||
, qtbase
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "cmake-extras";
|
||||
version = "unstable-2022-11-21";
|
||||
version = "1.7";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "ubports";
|
||||
repo = "development/core/cmake-extras";
|
||||
rev = "99aab4514ee182cb7a94821b4b51e4d8cb9a82ef";
|
||||
hash = "sha256-axj5QxgDrHy0HiZkfrbm22hVvSCKkWFoQC8MdQMm9tg=";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-5bLMk21pSZkuU3jAGTnjPc9ZrvVZqMUWSfFgkTtkYLw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# We have nothing to build here, no need to depend on a C compiler
|
||||
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
|
||||
substituteInPlace src/QmlPlugins/QmlPluginsConfig.cmake \
|
||||
@ -46,4 +46,4 @@ stdenvNoCC.mkDerivation {
|
||||
maintainers = teams.lomiri.members;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user