File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed
pkgs/development/python-modules/mygpoclient Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3- stdenv ,
43 fetchFromGitHub ,
54 buildPythonPackage ,
6- nose ,
5+ setuptools ,
76 minimock ,
7+ pytestCheckHook ,
88} :
99
1010buildPythonPackage rec {
1111 pname = "mypgoclient" ;
12- version = "1.8" ;
12+ version = "1.9" ;
13+ pyproject = true ;
1314
1415 src = fetchFromGitHub {
1516 owner = "gpodder" ;
1617 repo = "mygpoclient" ;
1718 rev = version ;
18- sha256 = "0aa28wc55x3rxa7clwfv5v5500ffyaq0vkxaa3v01y1r93dxkdvp " ;
19+ hash = "sha256-McHllitWiBiCdNuJlUg6K/vgr2l3ychu+KOx3r/UCv0= " ;
1920 } ;
2021
22+ postPatch = ''
23+ substituteInPlace mygpoclient/*_test.py \
24+ --replace-quiet "assertEquals" "assertEqual" \
25+ --replace-quiet "assert_" "assertTrue"
26+ '' ;
27+
28+ build-system = [ setuptools ] ;
29+
30+ pythonImportsCheck = [ "mygpoclient" ] ;
31+
2132 nativeCheckInputs = [
22- nose
2333 minimock
34+ pytestCheckHook
2435 ] ;
2536
26- checkPhase = ''
27- nosetests
28- '' ;
29-
30- doCheck = ( ! stdenv . isDarwin ) ;
37+ __darwinAllowLocalNetworking = true ;
3138
3239 meta = with lib ; {
3340 description = "Gpodder.net client library" ;
You can’t perform that action at this time.
0 commit comments