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

31 lines
595 B
Nix
Raw Normal View History

2020-04-17 10:18:19 +00:00
{ stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "tweeny";
2020-07-08 17:46:51 +00:00
version = "3.1.1";
2020-04-17 10:18:19 +00:00
src = fetchFromGitHub {
owner = "mobius3";
repo = "tweeny";
rev = "v${version}";
2020-07-08 17:46:51 +00:00
sha256 = "0zk7p21i54hfz0l50617i3gxhxh0n9yy86n2fxg8m26cvf4yhsj7";
2020-04-17 10:18:19 +00: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;
};
}