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