File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
pkgs/development/python-modules/i-pi Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 44 fetchFromGitHub ,
55 gfortran ,
66 makeWrapper ,
7+ setuptools ,
78 numpy ,
8- pytest ,
9+ distutils ,
10+ pytestCheckHook ,
911 mock ,
1012 pytest-mock ,
13+ pythonAtLeast ,
1114} :
1215
1316buildPythonPackage rec {
1417 pname = "i-pi" ;
15- version = "2.6.1 " ;
16- format = "setuptools" ;
18+ version = "3.0 " ;
19+ pyproject = true ;
1720
1821 src = fetchFromGitHub {
1922 owner = "i-pi" ;
2023 repo = "i-pi" ;
2124 rev = "refs/tags/v${ version } " ;
22- sha256 = "sha256-c1bs8ZI/dfDwKx5Df8ndtsDxESQrdbMkvrjfI6b9JTg =" ;
25+ hash = "sha256-SJ0qTwwdIOR1nXs9MV6O1oxJPR6/6H86wscDy/sLc/g =" ;
2326 } ;
2427
28+ build-system = [ setuptools ] ;
29+
2530 nativeBuildInputs = [
2631 gfortran
2732 makeWrapper
2833 ] ;
2934
30- propagatedBuildInputs = [ numpy ] ;
35+ dependencies = [ numpy ] ;
3136
3237 nativeCheckInputs = [
33- pytest
38+ pytestCheckHook
3439 mock
3540 pytest-mock
36- ] ;
41+ ] ++ lib . optional ( pythonAtLeast "3.12" ) distutils ;
42+
43+ pytestFlagsArray = [ "ipi_tests/unit_tests" ] ;
3744
3845 postFixup = ''
3946 wrapProgram $out/bin/i-pi \
You can’t perform that action at this time.
0 commit comments