2020-04-17 11:18:19 +01:00
|
|
|
{ stdenv
|
|
|
|
, 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;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A modern C++ tweening library";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "http://mobius3.github.io/tweeny";
|
|
|
|
maintainers = [ maintainers.doronbehar ];
|
|
|
|
platforms = with platforms; darwin ++ linux;
|
|
|
|
};
|
|
|
|
}
|