add tiny log & unity-test
This commit is contained in:
parent
3eb8b50d88
commit
09101274fc
3 changed files with 81 additions and 0 deletions
28
pkgs/u/unity-test/package.nix
Normal file
28
pkgs/u/unity-test/package.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "unity-test";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ThrowTheSwitch";
|
||||
repo = "Unity";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-g0ubq7RxGQmL1R6vz9RIGJpVWYsgrZhsTWSrL1ySEug=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Unity Unit Testing Framework";
|
||||
homepage = "https://www.throwtheswitch.org/unity";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.i01011001 ];
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue