about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ancp-bids/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/ancp-bids/default.nix')
-rw-r--r--pkgs/development/python-modules/ancp-bids/default.nix23
1 files changed, 6 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/ancp-bids/default.nix b/pkgs/development/python-modules/ancp-bids/default.nix
index 8ab4de7ac38c6..a595a57a5ed03 100644
--- a/pkgs/development/python-modules/ancp-bids/default.nix
+++ b/pkgs/development/python-modules/ancp-bids/default.nix
@@ -6,15 +6,15 @@
   pythonOlder,
   pytestCheckHook,
   setuptools,
-  wheel,
   numpy,
   pandas,
 }:
 
 buildPythonPackage rec {
   pname = "ancp-bids";
-  version = "0.2.1";
-  format = "pyproject";
+  version = "0.2.4";
+  pyproject = true;
+
   disabled = pythonOlder "3.7";
 
   # `tests/data` dir missing from PyPI dist
@@ -22,22 +22,10 @@ buildPythonPackage rec {
     owner = "ANCPLabOldenburg";
     repo = pname;
     rev = "refs/tags/${version}";
-    hash = "sha256-Nu9pulVSZysgm/F7jl+VpoqMCiHeysZjQDQ1dT7AnpE=";
+    hash = "sha256-c6X1gCYAezgZQP6xfQPfKW8V35F1cnTdbryEp3sZ4jw=";
   };
 
-  patches = [
-    # https://github.com/ANCPLabOldenburg/ancp-bids/pull/78
-    (fetchpatch {
-      name = "unpin-wheel-build-dependency.patch";
-      url = "https://github.com/ANCPLabOldenburg/ancp-bids/commit/6e7a0733002845aacb0152c5aacfb42054a9b65e.patch";
-      hash = "sha256-WbQRwb8Wew46OJu+zo7n4qBtgtH/Lr6x3YHAyN9ko9M=";
-    })
-  ];
-
-  nativeBuildInputs = [
-    setuptools
-    wheel
-  ];
+  build-system = [ setuptools ];
 
   nativeCheckInputs = [
     numpy
@@ -54,6 +42,7 @@ buildPythonPackage rec {
   meta = with lib; {
     homepage = "https://ancpbids.readthedocs.io";
     description = "Read/write/validate/query BIDS datasets";
+    changelog = "https://github.com/ANCPLabOldenburg/ancp-bids/releases/tag/${version}";
     license = licenses.mit;
     maintainers = with maintainers; [ bcdarwin ];
   };