diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2023-11-21 02:04:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 02:04:24 +0100 |
commit | 59e9326a82e6d1443de4a7d714640d87783d4873 (patch) | |
tree | 7421f6493ac85d6e2243fc213f0428c10961de29 /pkgs/by-name | |
parent | 2e1d91dadb7b6e780326ee20178d5253d8bd5fb4 (diff) | |
parent | 2249f4de3466c9151cd3a33b024128e365925d14 (diff) |
Merge pull request #265978 from MatthewCroughan/mc/ut
ut: init at 2.0.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ut/ut/package.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/ut/ut/package.nix b/pkgs/by-name/ut/ut/package.nix new file mode 100644 index 0000000000000..2ed2bdde444fb --- /dev/null +++ b/pkgs/by-name/ut/ut/package.nix @@ -0,0 +1,35 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, ninja +}: +stdenv.mkDerivation (finalAttrs: { + pname = "ut"; + version = "2.0.0"; + + cmakeFlags = [ + "-DBOOST_UT_ALLOW_CPM_USE=OFF" + ]; + + src = fetchFromGitHub { + owner = "boost-ext"; + repo = "ut"; + rev = "v${finalAttrs.version}"; + hash = "sha256-nMRhVtbnORMnZxIdrv6pvfj8/fv/buh4Y7mz0cr4p+E="; + }; + + nativeBuildInputs = [ + cmake + ninja + ]; + + meta = with lib; { + description = "UT: C++20 μ(micro)/Unit Testing Framework"; + homepage = "https://github.com/boost-ext/ut"; + license = licenses.boost; + maintainers = with maintainers; [ matthewcroughan ]; + platforms = platforms.all; + }; +}) + |