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

32 lines
593 B
Nix
Raw Normal View History

{ 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;
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;
};
}