depot/third_party/nixpkgs/pkgs/development/libraries/tweeny/default.nix

32 lines
614 B
Nix
Raw Normal View History

{ stdenv
, lib
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tweeny";
version = "3.2.0";
src = fetchFromGitHub {
owner = "mobius3";
repo = "tweeny";
rev = "v${finalAttrs.version}";
sha256 = "sha256-VmvOMK+FjYZXKH9kPUT2L7pmJMPSr5eXptCcoGWK+qo=";
};
nativeBuildInputs = [
cmake
];
doCheck = true;
meta = with lib; {
description = "A modern C++ tweening library";
license = licenses.mit;
homepage = "http://mobius3.github.io/tweeny";
maintainers = [ maintainers.doronbehar ];
platforms = with platforms; darwin ++ linux;
};
})