about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sphfile/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/sphfile/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/sphfile/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/sphfile/default.nix b/nixpkgs/pkgs/development/python-modules/sphfile/default.nix
new file mode 100644
index 000000000000..79f7aa0739cd
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/sphfile/default.nix
@@ -0,0 +1,23 @@
+{ lib, fetchurl, buildPythonPackage, numpy }:
+
+buildPythonPackage rec {
+  pname = "sphfile";
+  version = "1.0.3";
+
+  src = fetchurl {
+    url = "mirror://pypi/s/sphfile/${pname}-${version}.tar.gz";
+    sha256 = "1596d801facc2b03a40a1bc67a839701f068a41597059feb82fc9378420c52c0";
+  };
+
+  propagatedBuildInputs = [ numpy ];
+
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Numpy-based NIST SPH audio-file reader";
+    homepage    = "https://github.com/mcfletch/sphfile";
+    license     = licenses.mit;
+    maintainers = with maintainers; [ abbradar ];
+    platforms   = platforms.unix;
+  };
+}