From af385473f8ab3c47024612635151bf0f98288f7d Mon Sep 17 00:00:00 2001 From: Naoki Pross Date: Sun, 24 Oct 2021 23:23:40 +0200 Subject: Create TimeDependentComplexPlane tool for video To draw a QAM signal we will need a way to plot a time dependent complex function. So I made a thing that is just a complex plane + a time axis. --- video/nix/mapbox-earcut.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 video/nix/mapbox-earcut.nix (limited to 'video/nix/mapbox-earcut.nix') diff --git a/video/nix/mapbox-earcut.nix b/video/nix/mapbox-earcut.nix new file mode 100644 index 0000000..d325401 --- /dev/null +++ b/video/nix/mapbox-earcut.nix @@ -0,0 +1,25 @@ +{ lib, pkgs, buildPythonPackage, fetchPypi }: + +buildPythonPackage rec { + pname = "mapbox_earcut"; + version = "0.12.10"; + src = fetchPypi { + inherit pname version; + format = "setuptools"; + sha256 = "0ly48lijgd9inq07x42pfp9c24fn16vn9axpmfwqrkn979krbnah"; + }; + + dontUseCmakeConfigure = true; + + nativeBuildInputs = with pkgs; [ cmake ]; + + buildInputs = with pkgs.python3Packages; [ + setuptools_scm pybind11 + ]; + + propagatedBuildInputs = with pkgs.python3Packages; [ + numpy + ]; + + meta = with lib; {}; +} -- cgit v1.2.1