17 stdenv.mkDerivation rec {
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-m4p5uxRk6kEJUilmbQ1zJcQDRvRCV7pkxnqupZJxyjo=";
26 fetchSubmodules = true;
48 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
53 # GPU tests do not work in sandbox, instead we do this for sanity
56 test "$($out/bin/curv -x 2 + 2)" -eq "4"
61 description = "2D and 3D geometric modelling programming language for creating art with maths";
62 homepage = "https://github.com/curv3d/curv";
63 license = licenses.asl20;
64 platforms = platforms.all;
65 broken = stdenv.hostPlatform.isDarwin;
66 maintainers = with maintainers; [ pbsds ];