File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
pkgs/development/python-modules/vxi11 Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 buildPythonPackage ,
44 fetchFromGitHub ,
5- nose ,
5+ pytestCheckHook ,
6+ fetchpatch2 ,
67} :
78
89buildPythonPackage rec {
@@ -17,10 +18,23 @@ buildPythonPackage rec {
1718 sha256 = "1xv7chp7rm0vrvbz6q57fpwhlgjz461h08q9zgmkcl2l0w96hmsn" ;
1819 } ;
1920
20- nativeCheckInputs = [ nose ] ;
21- checkPhase = ''
22- nosetests
23- '' ;
21+ patches = [
22+ # set of patches from python-ivi/python-vxi11#47
23+
24+ # Fix deprecation warning
25+ ( fetchpatch2 {
26+ url = "https://github.com/python-ivi/python-vxi11/commit/00722b1b8810ac38bfb47e8c49437055b600dfff.patch?full_index=1" ;
27+ hash = "sha256-fZDhg578UY/Q/2li1EmL5WTPx1OUfyebzvvBVK/IyDU=" ;
28+ } )
29+
30+ # Removes nose dependency
31+ ( fetchpatch2 {
32+ url = "https://github.com/python-ivi/python-vxi11/commit/a8ad324d645d6f7215f207f2cc2988dc49859698.patch?full_index=1" ;
33+ hash = "sha256-nkH6ww4jBypEmZeatEb8fpFTB7x/AMppeEmuH9a4v6I=" ;
34+ } )
35+ ] ;
36+
37+ nativeCheckInputs = [ pytestCheckHook ] ;
2438
2539 meta = with lib ; {
2640 description = "VXI-11 driver for controlling instruments over Ethernet" ;
You can’t perform that action at this time.
0 commit comments