From 4db381faddee6e951aa76d5a64073d22fe23f314 Mon Sep 17 00:00:00 2001 From: Naoki Pross Date: Wed, 20 Oct 2021 00:56:43 +0200 Subject: Prepare nix env for video --- video/manimpango/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 video/manimpango/default.nix (limited to 'video/manimpango') diff --git a/video/manimpango/default.nix b/video/manimpango/default.nix new file mode 100644 index 0000000..97b5e97 --- /dev/null +++ b/video/manimpango/default.nix @@ -0,0 +1,22 @@ +{ lib, pkgs, buildPythonPackage, fetchPypi }: + +buildPythonPackage rec { + pname = "ManimPango"; + version = "0.3.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "09fc7zv953ni7pilv869ldbjgz59j41a8vbz637rqzjh2yjfb9x3"; + }; + + nativeBuildInputs = with pkgs; [ + gcc pkgconfig + ]; + + propagatedBuildInputs = with pkgs; [ pango ] + ++ (with pkgs.python3Packages; [ + cython pytest numpy pillow + ]); + + meta = with lib; {}; +} -- cgit v1.2.1