about summary refs log tree commit diff
path: root/pkgs/development/python-modules/adext
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-03-03 23:57:34 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-03-06 03:02:06 +0100
commit842e35e2814c5950db102679aa5ce3cae1a5a250 (patch)
tree0ee7cdba057419ebc2c0c6cd80529bcf409e39fd /pkgs/development/python-modules/adext
parent7aaa74bf2fff598513c318fc8ffc50205ae54e67 (diff)
python3Packaegs.adext: 0.3 -> 0.4.1
Diffstat (limited to 'pkgs/development/python-modules/adext')
-rw-r--r--pkgs/development/python-modules/adext/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/adext/default.nix b/pkgs/development/python-modules/adext/default.nix
index f3818c93188bf..12c86bfc8f5f3 100644
--- a/pkgs/development/python-modules/adext/default.nix
+++ b/pkgs/development/python-modules/adext/default.nix
@@ -1,24 +1,26 @@
 { lib
 , buildPythonPackage
 , fetchPypi
+, setuptools-scm
 , alarmdecoder
 }:
 
 buildPythonPackage rec {
   pname = "adext";
-  version = "0.3";
+  version = "0.4.1";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "184qxw6i5ixnhgkjnby4zwn4jg90mxb8xy9vbg80x5w331p4z50f";
+    sha256 = "1yz1rpfvhbf7kfjck5vadbj9rd3bkx5248whaa3impdrjh7vs03x";
   };
 
-  postPatch = ''
-    substituteInPlace setup.py \
-      --replace "alarmdecoder==1.13.2" "alarmdecoder>=1.13.2"
-  '';
+  nativeBuildInputs = [
+    setuptools-scm
+  ];
 
-  propagatedBuildInputs = [ alarmdecoder ];
+  propagatedBuildInputs = [
+    alarmdecoder
+  ];
 
   # Tests are not published yet
   doCheck = false;