2021-01-23 08:47:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-04-17 10:18:19 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tweeny";
|
2021-02-18 18:02:45 +00:00
|
|
|
version = "3.2.0";
|
2020-04-17 10:18:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mobius3";
|
|
|
|
repo = "tweeny";
|
|
|
|
rev = "v${version}";
|
2021-02-18 18:02:45 +00:00
|
|
|
sha256 = "sha256-VmvOMK+FjYZXKH9kPUT2L7pmJMPSr5eXptCcoGWK+qo=";
|
2020-04-17 10:18:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-17 10:18:19 +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;
|
|
|
|
};
|
|
|
|
}
|