33 lines
618 B
Nix
33 lines
618 B
Nix
|
|
{
|
||
|
|
stdenv,
|
||
|
|
lib,
|
||
|
|
fetchFromGitHub,
|
||
|
|
cmake,
|
||
|
|
}:
|
||
|
|
|
||
|
|
stdenv.mkDerivation (finalAttrs: {
|
||
|
|
pname = "tweeny";
|
||
|
|
version = "3.2.1";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "mobius3";
|
||
|
|
repo = "tweeny";
|
||
|
|
rev = "v${finalAttrs.version}";
|
||
|
|
sha256 = "sha256-9nFEI4gignIJaBFW9GDuSJJqeWli6YcKs/uYEL89VsE=";
|
||
|
|
};
|
||
|
|
|
||
|
|
nativeBuildInputs = [
|
||
|
|
cmake
|
||
|
|
];
|
||
|
|
|
||
|
|
doCheck = true;
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "Modern C++ tweening library";
|
||
|
|
license = licenses.mit;
|
||
|
|
homepage = "http://mobius3.github.io/tweeny";
|
||
|
|
maintainers = [ maintainers.doronbehar ];
|
||
|
|
platforms = with platforms; darwin ++ linux;
|
||
|
|
};
|
||
|
|
})
|