aboutsummaryrefslogtreecommitdiffstats
path: root/src/nix
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-11-27 14:46:47 +0100
committerNao Pross <np@0hm.ch>2021-11-27 14:46:47 +0100
commitf263caa2db965ded17cbeb02280dc0174bd73587 (patch)
tree3479b25649ca15132e371a90bc116eb9fc6f2e84 /src/nix
parentTest interpolation angefangen (diff)
downloadFading-f263caa2db965ded17cbeb02280dc0174bd73587.tar.gz
Fading-f263caa2db965ded17cbeb02280dc0174bd73587.zip
Move network code and update nix files
Diffstat (limited to '')
-rw-r--r--src/nix/numpy-ringbuffer.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nix/numpy-ringbuffer.nix b/src/nix/numpy-ringbuffer.nix
new file mode 100644
index 0000000..b97b01a
--- /dev/null
+++ b/src/nix/numpy-ringbuffer.nix
@@ -0,0 +1,12 @@
+{ lib, pkgs, buildPythonPackage, fetchPypi, isPy38, autoPatchelfHook }:
+
+buildPythonPackage rec {
+ pname = "numpy_ringbuffer";
+ version = "0.2.1";
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1vrw38jb3cy9m0c1xxvkk5sf1hpgv58x649a2nnqi9ljdl5wcydc";
+ };
+
+ buildInputs = (with pkgs.python3Packages; [ numpy ]);
+}