2020-05-03 17:38:23 +00:00
|
|
|
{ stdenv
|
2021-02-05 17:12:51 +00:00
|
|
|
, lib
|
2020-05-03 17:38:23 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-05-03 17:38:23 +00:00
|
|
|
pname = "tweeny";
|
2021-02-19 19:06:45 +00:00
|
|
|
version = "3.2.0";
|
2020-05-03 17:38:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mobius3";
|
|
|
|
repo = "tweeny";
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2021-02-19 19:06:45 +00:00
|
|
|
sha256 = "sha256-VmvOMK+FjYZXKH9kPUT2L7pmJMPSr5eXptCcoGWK+qo=";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-03 17:38:23 +00:00
|
|
|
description = "A modern C++ tweening library";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "http://mobius3.github.io/tweeny";
|
|
|
|
maintainers = [ maintainers.doronbehar ];
|
|
|
|
platforms = with platforms; darwin ++ linux;
|
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|