aboutsummaryrefslogtreecommitdiffstats
path: root/video/manimpango
diff options
context:
space:
mode:
authorNaoki Pross <np@0hm.ch>2021-10-20 00:56:43 +0200
committerNaoki Pross <np@0hm.ch>2021-10-20 01:05:57 +0200
commit4db381faddee6e951aa76d5a64073d22fe23f314 (patch)
treea74849eb2a01d83b06a29e1d7764cf846a5d4121 /video/manimpango
parentTheory mit PSK und QPSK angefangen. (diff)
downloadFading-4db381faddee6e951aa76d5a64073d22fe23f314.tar.gz
Fading-4db381faddee6e951aa76d5a64073d22fe23f314.zip
Prepare nix env for video
Diffstat (limited to 'video/manimpango')
-rw-r--r--video/manimpango/default.nix22
1 files changed, 22 insertions, 0 deletions
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; {};
+}