1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "tweeny";
10 version = "3.2.0";
11
12 src = fetchFromGitHub {
13 owner = "mobius3";
14 repo = "tweeny";
15 rev = "v${finalAttrs.version}";
16 sha256 = "sha256-VmvOMK+FjYZXKH9kPUT2L7pmJMPSr5eXptCcoGWK+qo=";
17 };
18
19 nativeBuildInputs = [
20 cmake
21 ];
22
23 doCheck = true;
24
25 meta = with lib; {
26 description = "Modern C++ tweening library";
27 license = licenses.mit;
28 homepage = "http://mobius3.github.io/tweeny";
29 maintainers = [ maintainers.doronbehar ];
30 platforms = with platforms; darwin ++ linux;
31 };
32})