mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Merge pull request #335777 from OPNA2608/update/process-cpp
process-cpp: 3.0.1-unstable-2024-03-14 -> 3.0.2
This commit is contained in:
commit
f8e45876ff
@ -1,27 +1,28 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitLab
|
||||
, testers
|
||||
, unstableGitUpdater
|
||||
, cmake
|
||||
, coreutils
|
||||
, boost
|
||||
, gtest
|
||||
, lomiri
|
||||
, properties-cpp
|
||||
, pkg-config
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
testers,
|
||||
gitUpdater,
|
||||
cmake,
|
||||
coreutils,
|
||||
boost,
|
||||
gtest,
|
||||
lomiri,
|
||||
properties-cpp,
|
||||
pkg-config,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "process-cpp";
|
||||
version = "3.0.1-unstable-2024-03-14";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.com";
|
||||
owner = "ubports";
|
||||
repo = "development/core/lib-cpp/process-cpp";
|
||||
rev = "7b0a829abcbcdd25d949e5f9e2c26bb985a58b31";
|
||||
hash = "sha256-Az+lSJ7uVR4pAWvOeah5vFtIPb12eKp0nAFF1qsHZXA=";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-UCNmD5Ea2wnEwG9gkt88TaX0vfS4SCaIOPRMeNFx80Y=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@ -52,27 +53,29 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
properties-cpp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
gtest
|
||||
];
|
||||
checkInputs = [ gtest ];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doCheck)
|
||||
];
|
||||
cmakeFlags = [ (lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doCheck) ];
|
||||
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
|
||||
passthru = {
|
||||
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
updateScript = unstableGitUpdater { };
|
||||
updateScript = gitUpdater { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Simple convenience library for handling processes in C++11";
|
||||
homepage = "https://gitlab.com/ubports/development/core/lib-cpp/process-cpp";
|
||||
license = with licenses; [ gpl3Only lgpl3Only ];
|
||||
maintainers = with maintainers; [ onny OPNA2608 ];
|
||||
platforms = platforms.linux;
|
||||
license = with lib.licenses; [
|
||||
gpl3Only
|
||||
lgpl3Only
|
||||
];
|
||||
maintainers = with lib.maintainers; [
|
||||
onny
|
||||
OPNA2608
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
pkgConfigModules = [ "process-cpp" ];
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user