about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/apkit/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/apkit/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/apkit/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/apkit/default.nix b/nixpkgs/pkgs/development/python-modules/apkit/default.nix
new file mode 100644
index 000000000000..7e2c45ca8bc7
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/apkit/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, numpy
+, scipy
+}:
+
+buildPythonPackage {
+  pname = "apkit";
+  version = "unstable-2022-08-23";
+  format = "setuptools";
+
+  src = fetchFromGitHub {
+    owner = "hwp";
+    repo = "apkit";
+    rev = "40561738c3f585c590c3f0584bf2e3354eefbd48";
+    hash = "sha256-/pwoEKB6BD+wWy7QwPwwzSxGn+TAOaMzduOXyuoXC8g=";
+  };
+
+  propagatedBuildInputs = [
+    numpy
+    scipy
+  ];
+
+  pythonImportsCheck = [ "apkit" ];
+
+  # This package has no tests
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Audio processing toolkit";
+    homepage = "https://github.com/hwp/apkit";
+    license = licenses.mit;
+    maintainers = with maintainers; [ GaetanLepage ];
+  };
+}