mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
ut: init at 2.0.0
Co-authored-by: Mikael Fangel <34864484+MikaelFangel@users.noreply.github.com>
This commit is contained in:
parent
83d2098e69
commit
2249f4de34
35
pkgs/by-name/ut/ut/package.nix
Normal file
35
pkgs/by-name/ut/ut/package.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user