2021-01-23 08:47:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-04-17 11:18:19 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tweeny";
|
2020-07-08 18:46:51 +01:00
|
|
|
version = "3.1.1";
|
2020-04-17 11:18:19 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mobius3";
|
|
|
|
repo = "tweeny";
|
|
|
|
rev = "v${version}";
|
2020-07-08 18:46:51 +01:00
|
|
|
sha256 = "0zk7p21i54hfz0l50617i3gxhxh0n9yy86n2fxg8m26cvf4yhsj7";
|
2020-04-17 11:18:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-17 11:18:19 +01:00
|
|
|
description = "A modern C++ tweening library";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "http://mobius3.github.io/tweeny";
|
|
|
|
maintainers = [ maintainers.doronbehar ];
|
|
|
|
platforms = with platforms; darwin ++ linux;
|
|
|
|
};
|
|
|
|
}
|