Unverified Commit e54cdfa8 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

unity-test:init at 2.61 (#381665)

parents 7bffbf3c baccfe89
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -9800,6 +9800,12 @@
    githubId = 140937;
    name = "Henner Zeller";
  };
  i01011001 = {
    email = "yugen.m7@gmail.com";
    github = "i01011001";
    githubId = 134605846;
    name = "Yugen";
  };
  i077 = {
    email = "nixpkgs@imranhossa.in";
    github = "i077";
+28 −0
Original line number Diff line number Diff line
{
  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 ];
  };
})